HowTo: Use ps, kill, nice, and killall To Manage processes in FreeBSD and OS X Unix Operating System

This tutorial by nixCraft shows us how to use various commands to manage processes in FreeBSD and OS X.

Fig.02 ps command with flags

I‘m a new Unix system user. How can I manage process on a FreeBSD operating systems?

A process is nothing but an executing program on FreeBSD or Unix-like system. Each process on the system provides the resources needed to run a program such as vim or firefox. Each process has:

Tutorial details
Difficulty Easy (rss)
Root privileges Yes
Requirements FreeBSD or Unix-like os
Estimated completion time 10m
  1. A unique process identifier number (PID)
  2. A virtual address space
  3. A security context
  4. Open devices/handles, executable code
  5. Environment variables, priority and more.

In this quick tutorial, I will write about process management on a FreeBSD operating systems.

Full instructions here: http://www.cyberciti.biz/faq/howto-use-ps-kill-nice-killall-to-manage-processes-in-freebsd-unix/

New 2015Q1 branch

freebsdlogoHi,

The 2015Q1 branch has just been branched meaning that the next update on the
quarterly packages will be on the 2015Q1 branch

What happen during the last 3 months:
– 160 committers have participated
– 6024 commits
– diffstat: 33223 files changed, 817670 insertions(+), 631272 deletions(-)

What does that means for users:
– pkg got update to 1.4.3
– New keywords: @glib-schemas, @kld
– New USES: alias fakeroot gettext-runtime gettext-tools gperf
– gettext has been updated to 0.19.3 and splitted into smaller packages
– Minimum clang compiler is now 3.4
– Firefox 34.0.5
– Firefox-esr 31.3.0
– Chrome 39.0.2171.95
– Perl 5.18.4 (the perl infrastructure have received lots of work which would
ease a lot further upgrade of the default perl version for a end user)
– Python 2.7.9
– Ruby 2.0.0.598
– PostgreSQL 9.3
– gcc 4.8.3
– Gnome 3.14
– Cinnamon 2.4.5
– Xorg 1.14

Next package building will start on Wednesday 7th at 1 am UTC and should be
available on your closest mirrors few days after that.

Regards,
Bapt (on behalf of portmgr)

Official announcement: https://lists.freebsd.org/pipermail/freebsd-ports/2015-January/097332.html

Creating Custom Packages on FreeBSD / Setting Up a Package Mirror on FreeBSD

These short tutorials by lastsummer.de show us how to create custom packages on FreeBSD, as well as set up a package mirror.

Creating Custom Packages on FreeBSD

…we are going to cover how to build pkg(8) (pkgng) packages away from the FreeBSD ports tree. This is useful for external/private repositories (mostly bigger ones or generally fast-moving) or non-conventional ports like database content or even system updates. pkg(8) itself provides the essential pkg-create(8) tool, as well as pkg-query(8), which we will use to generate embedded dependencies.

Link: http://lastsummer.de/creating-custom-packages-on-freebsd/

Setting Up a Package Mirror on FreeBSD

…we’ll look briefly into how to setup a pkg(8) mirror on FreeBSD. Essentially, we’ll only need a bunch of binary packages for the mirror, pkg-create(8), a running HTTP server and a configuration file for the new mirror on your target system. You must know how to build packages for your target system — if that is the case you are ready to dive in.

Link: http://lastsummer.de/setting-up-a-package-mirror-on-freebsd/

Running FreeBSD on Hyper-v

This article by Kylie Liang shows us how to get the latest version of FreeBSD up and running on Microsoft’s Hyper-v.

hyper-v_vps_hostingHyper-V supports both emulated and Hyper-V-specific devices for Linux and FreeBSD virtual machines. When running with emulated devices, no additional software is required to be installed. However emulated devices do not provide high performance and cannot leverage the rich virtual machine management infrastructure that the Hyper-V technology offers. In order to make full use of all benefits that Hyper-V provides, it is best to use Hyper-V-specific devices for Linux and FreeBSD. The collection of drivers that are required to run Hyper-V-specific devices are known as Linux Integration Services (LIS) or FreeBSD Integration Services (BIS).

Microsoft has worked with the FreeBSD community to contribute those BIS synthetic device drivers as well as corresponding daemons to FreeBSD 10.0. Furthermore, Microsoft is improving networking and storage performance running on Hyper-v and enriching functionalities, such as live backup VM. As for detailed feature description, refer to http://technet.microsoft.com/en-us/library/dn848318.aspx.

In addition, Microsoft provides ports that contain the installable BIS drivers and corresponding daemons for older FreeBSD releases 9.x and 8.4.

This article will provide instructions on how to bring up latest FreeBSD 10.1 image on Hyper-v and use FreeBSD 9.3 as an example to highlight networking configuration and ports installation.

Read full post with instructions: http://blogs.msdn.com/b/kylie/archive/2014/12/25/running-freebsd-on-hyper-v.aspx

The FreeBSD Foundation December 2014 Newsletter

logo_freebsdfoundation

Welcome to our December 2014 Semi-Annual Newsletter!

As 2014 comes to an end, we wanted to share with you what we did this year to support the FreeBSD Project and community.

In this issue, you’ll get a summary of all the FreeBSD development work we’ve supported; highlights of all the conferences that we sponsored and attended; plans for the FreeBSD Journal in 2015; another great testimonial from a commercial user; and our Q1-Q3 financial reports. I’d be remiss if I didn’t mention my favorite part of our semi-annual newsletter, the insightful and always inspirational letter from our president and founder, Justin Gibbs.

Sit back, grab something to snack on, and get ready to be inspired by what people are doing to make this a better world.

Deb Goodkin
Executive Director
The FreeBSD Foundation

Read the full post here: https://www.freebsdfoundation.org/press/2014dec-newsletter.html

You should be running a pfSense firewall

Paul Venezia, InfoWorld.com, wrote this article about the “fast and feature rich, free and open source” firewall, pfSense, and why it may be the best one.

pfsenseThose of us who work in the depths of high technology are not immune to the age-old adage of the shoemaker’s children having no shoes. We probably have the most technologically advanced homes of anyone we know, but we also tend to leave various items alone if they’re not causing problems. After all, that’s what we deal with at work. Who needs to saddle themselves with network upgrade projects at home when nothing’s broken?

That’s how your home winds up with a circa 2001 “small”-form-factor Dell GX110 as a firewall, running an oldish version of IPCop, booting from a CompactFlash card, dutifully whirring away for 12 years. I finally decided to put it out to pasture a few weeks ago.

Read the full article here: http://www.infoworld.com/article/2861574/network-security/you-should-be-running-pfsense-firewall.html

Get started with FreeBSD: A brief intro for Linux users

This article by Paul Venezia, InfoWorld.com, shows us how to get started on FreeBSD, for the Linux user.

equations on chalkboard 87173350Among the legions of Linux users and admins, there seems to be a sort of passive curiosity about FreeBSD and other *BSDs. Like commuters on a packed train, they gaze out at a less crowded, vaguely mysterious train heading in a slightly different direction and wonder what traveling on that train might be like — for a moment. The few who cross over find themselves in a place that is equal parts familiar and foreign. And the strange parts can be scary.

For those who’ve known only Linux, FreeBSD has places of darkness and confusion. But if you know what they are going in, it’s easy enough to get past them. I’ve been a BSD guy since the heady days of BSDi and SunOS, so let me give you a brief introduction. You might be surprised at how much you like it.

Read the full article here: http://www.infoworld.com/article/2858288/unix/intro-to-freebsd-for-linux-users.html