System information

Index
© 2006 Intuit Inc. All rights reserved. 143
Command Description and Example
who –uH
Displays logged on users, their devices, PID’s, IP addresses.
Example:
Name Line Time Activity PID Hostname
root tty0 Jan 13 15:58 old 11614
repstein pts/0 Feb 05 07:11 1:22 26330 (192.0.0.0)
jortiz pts/2 Feb 03 16:53 17:31 34790 (192.0.0.17)
eknight pts/3 Feb 05 05:57 . 42988 (ga-warehouse)
jlindqui pts/4 Feb 05 06:18 0:01 35020 (192.0.0.24)
bmadison pts/5 Feb 05 06:25 0:57 40006 (192.0.0.49)
qestrieby pts/6 Feb 05 06:46 2:33 24826 (192.0.0.21)
jliu pts/7 Feb 05 07:04 . 31906 (receiving)
bwright pts/8 Feb 05 10:09 0:20 28494 (192.0.0.13)
who|wc –l
Displays the number of logged on AIX users.
Example:
root:/# who |wc –l
22
ps –ef|grep uv|grep –v
root|wc –l
Displays the numbers of universe licenses being used.
Example:
root:/# ps -ef|grep uv|grep -v root|wc -l
21
uvlictool report_lic
Displays uv licenses in use/available.
Example:
root:/# uvlictool report_lic
Server Edition mode of licensing is in effect.
No. Pid, Package Device name IP address Device sub-key
1 25302
2 26956
3 22388
4 32060
5 42068
….
19 28068
20 24748
21 23304
21 license seats are in use.
27 license seats are available
fuser –k /dev/ttyn
Kills the process running on ttyn.
Example:
rs6k:root:/# fuser -k /dev/tty2
/dev/tty2: 11614
kill –4 pid
Kills process pid.
Example:
rs6k:root:/# kill –4 12345
ps –ef|grep uv|grep –v
root|cut –c 9-15|xargs –I
kill –4 {}
Kills all non-root uv processes.