April 1995
Intermediate to advanced
160 pages
4h 45m
English
Content preview from WYNTK: UNIX System AdmininistratorBecome an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,







O’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
I wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
I’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
I'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Use grep with ps to see what a single person is doing.
On most systems with multiple users, the output from a ps -au command is screenfuls upon screenfuls. Usually, you’re only interested in a particular thing—such as, what is a particular user doing, or is anyone running a particular program right now?
On some systems, there may be a special option to ps for other users. Check your ps manpage. If there’s no such option on your system, then pipe the ps output through grep. For example, if I only want to know what frank is up to:
% ps -au | grep frank frank 29887 176 p9 I Oct 17 0:00 -sh (csh) frank 29886 176 pa I Oct 17 0:00 -sh (csh) lmui 19574 236 s6 S 10:55 0:00 egrep frank
ps usually reports only the processes associated with a terminal. Not all processes are associated with a terminal. If you want to see all processes belonging to Frank, add the x command-line option:
% ps -aux | grep frank frank 29850 284 ? I Oct 17 0:02 /usr/vue/bin/vuesession frank 29887 176 p9 I Oct 17 0:00 -sh (csh) lmui 19761 236 s6 S 10:57 0:00 egrep frank frank 29885 360 ? S Oct 17 0:03 xload -name vueload -nol frank 29886 176 pa I Oct 17 0:00 -sh (csh) frank 29873 808 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access