[Oberon] psaux
Jan Verhoeven
jan at verhoeven272.nl
Tue May 7 20:25:57 CEST 2013
> However, psaux has nothing to do with the more generically-named AUX
> device in Microsoft operating systems!
You refer to the Linux command 'ps aux'
ps - report a snapshot of the current processes.
a = all users
u = listing control
x = no tty required
jan at Beryllium:~$ ps a
PID TTY STAT TIME COMMAND
3196 tty1 Ss 0:00 -bash
3197 tty2 Ss+ 0:00 /sbin/agetty 38400 tty2 linux
3229 tty1 S+ 0:00 /bin/sh /usr/bin/startx
3246 tty7 Ss+ 0:10 X :0 -auth /home/jan/.serverauth.3229
3251 tty1 S 0:00 /bin/sh /usr/lib/X11/xinit/xinitrc
3252 tty1 S 0:00 /bin/sh /usr/bin/startkde
3285 tty1 S 0:00 start_kdeinit --new-startup +kcminit_startup
3300 tty1 S 0:00 kwrapper ksmserver
3320 pts/0 Ss+ 0:00 -bash
3324 pts/1 Ss+ 0:00 -bash
jan at Beryllium:~$ ps ax
PID TTY STAT TIME COMMAND
1 ? Ss 0:03 init [3]
2 ? S< 0:00 [kthreadd]
3 ? S< 0:00 [migration/0]
4 ? S< 0:00 [ksoftirqd/0]
5 ? S< 0:00 [migration/1]
6 ? S< 0:00 [ksoftirqd/1]
7 ? S< 0:00 [migration/2]
8 ? S< 0:00 [ksoftirqd/2]
9 ? S< 0:00 [events/0]
10 ? S< 0:00 [events/1]
11 ? S< 0:00 [events/2]
12 ? S< 0:00 [khelper]
118 ? S< 0:00 [kblockd/0]
jan at Beryllium:~$ ps au
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
jan 3196 0.0 0.1 3640 2008 tty1 Ss 20:08 0:00 -bash
root 3197 0.0 0.0 1704 532 tty2 Ss+ 20:08
0:00 /sbin/agetty 38400 tty2 linux
root 3198 0.0 0.0 1704 532 tty3 Ss+ 20:08
0:00 /sbin/agetty 38400 tty3 linux
root 3199 0.0 0.0 1704 528 tty4 Ss+ 20:08
0:00 /sbin/agetty 38400 tty4 linux
root 3200 0.0 0.0 1704 528 tty5 Ss+ 20:08
0:00 /sbin/agetty 38400 tty5 linux
root 3201 0.0 0.0 1704 528 tty6 Ss+ 20:08
0:00 /sbin/agetty 38400 tty6 linux
jan 3229 0.0 0.1 3260 1604 tty1 S+ 20:13
0:00 /bin/sh /usr/bin/startx
jan 3245 0.0 0.0 2764 780 tty1 S+ 20:13 0:00
xinit /usr/lib/X11/xinit/xinitrc -- -auth /home/jan/.serverauth.32
root 3246 2.0 5.5 61972 57124 tty7 Ss+ 20:13 0:13
X :0 -auth /home/jan/.serverauth.3229
jan 3251 0.0 0.1 3240 1548 tty1 S 20:13
0:00 /bin/sh /usr/lib/X11/xinit/xinitrc
jan 3252 0.0 0.1 3260 1616 tty1 S 20:13
0:00 /bin/sh /usr/bin/startkde
root 3285 0.0 0.0 1548 148 tty1 S 20:13 0:00
start_kdeinit --new-startup +kcminit_startup
jan 3300 0.0 0.0 1684 388 tty1 S 20:13 0:00
kwrapper ksmserver
jan 3320 0.0 0.1 3636 1996 pts/0 Ss+ 20:13 0:00 -bash
jan 3324 0.0 0.1 3636 2000 pts/1 Ss+ 20:13 0:00 -bash
jan 3329 0.0 0.1 3632 2004 pts/2 Ss 20:13 0:00 -bash
jan at Beryllium:~$ ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.3 0.0 772 304 ? Ss 20:08 0:03 init
[3]
root 2 0.0 0.0 0 0 ? S< 20:08 0:00
[kthreadd]
root 3 0.0 0.0 0 0 ? S< 20:08 0:00
[migration/0]
root 4 0.0 0.0 0 0 ? S< 20:08 0:00
[ksoftirqd/0]
root 5 0.0 0.0 0 0 ? S< 20:08 0:00
[migration/1]
--
Met vriendelijke groeten,
Jan Verhoeven
http://www.verhoeven272.nl
More information about the Oberon
mailing list