root@deltabell:/proc/net>cat tcp
sl local_address rem_address st tx_queue
rx_queue tr tm->when retrnsmt uid timeout inode
0: 00000000:1770 00000000:0000 0A 00000000:00000000
00:00000000 00000000 501
0 186
1: 00000000:1B59 00000000:0000 0A 00000000:00000000
00:00000000 00000000 0
0 174
2: 00000000:1538 00000000:0000 0A 00000000:00000000
00:00000000 00000000 100
0 157
3: 00000000:0050 00000000:0000 0A 00000000:00000000
00:00000000 00000000 0
0 149
4: 00000000:0203 00000000:0000 0A 00000000:00000000
00:00000000 00000000 0
0 128
5: 00000000:0062 00000000:0000 0A 00000000:00000000
00:00000000 00000000 0
0 123
6: 00000000:0071 00000000:0000 0A 00000000:00000000
00:00000000 00000000 0
0 122
7: 00000000:0025 00000000:0000 0A 00000000:00000000
00:00000000 00000000 0
0 120
8: 00000000:004F 00000000:0000 0A 00000000:00000000
00:00000000 00000000 0
0 119
9: 00000000:008F 00000000:0000 0A 00000000:00000000
00:00000000 00000000 0
0 118
10: 00000000:006E 00000000:0000 0A 00000000:00000000 00:00000000
00000000 0
0 117
11: 00000000:006D 00000000:0000 0A 00000000:00000000 00:00000000
00000000 0
0 116
12: 00000000:0201 00000000:0000 0A 00000000:00000000 00:00000000
00000000 0
0 113
13: 00000000:0202 00000000:0000 0A 00000000:00000000 00:00000000
00000000 0
0 112
14: 00000000:0046 00000000:0000 0A 00000000:00000000 00:00000000
00000000 0
0 111
15: 00000000:0017 00000000:0000 0A 00000000:00000000 00:00000000
00000000 0
0 110
16: 00000000:0015 00000000:0000 0A 00000000:00000000 00:00000000
00000000 0
0 109
17: 00000000:006F 00000000:0000 0A 00000000:00000000 00:00000000
00000000 0
0 98
root@deltabell:/proc/net>tca udp
tca: Command not found.
root@deltabell:/proc/net>cat udp
sl local_address rem_address st tx_queue
rx_queue tr tm->when retrnsmt uid timeout inode
0: 00000000:0025 00000000:0000 07 00000000:00000000
00:00000000 00000000 0
0 121
1: 00000000:0206 00000000:0000 07 00000000:00000000
00:00000000 00000000 0
0 115
2: 00000000:0205 00000000:0000 07 00000000:00000000
00:00000000 00000000 0
0 114
3: 00000000:006F 00000000:0000 07 00000000:00000000
00:00000000 00000000 0
0 96
4: 00000000:0202 00000000:0000 07 00000000:00000000
00:00000000 00000000 0
0 78
root@deltabell:/proc/net>cat unix
Num RefCount Protocol Flags
Type St Inode Path
c30e2020: 00000001 00000000 00040000 0001 03 201 @00000009
c3ca3d20: 00000001 00000000 00000000 0001 03 197 @00000007
c3ca3000: 00000000 00000000 00010000 0001 01 158 /tmp/.s.PGSQL.5432
c30e2800: 00000001 00000000 00000000 0001 03 203 @0000000a
c2fe8a80: 00000001 00000000 00000000 0001 03 3201 @0000008c
c3ca3540: 00000000 00000000 00010000 0001 01 187 /tmp/.X11-unix/X0
c30e2d40: 00000001 00000000 00000000 0001 03 228 @00000010
c2fe82a0: 00000001 00000000 00040000 0001 03 5640 @000000f4
c0093aa0: 00000000 00000000 00010000 0001 01
76 /dev/log
c2fe8d20: 00000001 00000000 00000000 0001 03 8677 @00000161
c3ca37e0: 00000001 00000000 00000000 0001 03 189 @00000004
c3b4c560: 00000000 00000000 00010000 0001 01 141 /var/run/gpmctl
c3b4c020: 00000000 00000000 00010000 0001 01 126 /dev/printer
c0824000: 00000001 00000000 00000000 0001 03 8678 /tmp/.X11-unix/X0
c2fe8000: 00000001 00000000 00000000 0001 03 5641 /tmp/.X11-unix/X0
c2fe8540: 00000001 00000000 00000000 0001 03 3202 /tmp/.X11-unix/X0
c2fe87e0: 00000001 00000000 00000000 0001 03 229 /tmp/.X11-unix/X0
c30e2aa0: 00000001 00000000 00000000 0001 03 204 /tmp/.X11-unix/X0
c30e22c0: 00000001 00000000 00000000 0001 03 202 /tmp/.X11-unix/X0
c30e2560: 00000001 00000000 00000000 0001 03 198 /tmp/.X11-unix/X0
c3ca3a80: 00000001 00000000 00000000 0001 03 190 /tmp/.X11-unix/X0
c3b71540: 00000000 00000000 00000000 0001 01 139
root@deltabell:/proc/net>netstat -a
Active Internet connections (including servers)
Proto Recv-Q Send-Q Local Address
Foreign Address State
tcp 0
0 *:6000
*:*
LISTEN
tcp 0
0 *:7001
*:*
LISTEN
tcp 0
0 *:5432
*:*
LISTEN
tcp 0
0 *:www
*:*
LISTEN
tcp 0
0 *:printer
*:*
LISTEN
tcp 0
0 *:linuxconf
*:*
LISTEN
tcp 0
0 *:auth
*:*
LISTEN
tcp 0
0 *:time
*:*
LISTEN
tcp 0
0 *:finger
*:*
LISTEN
tcp 0
0 *:imap
*:*
LISTEN
tcp 0
0 *:pop
*:*
LISTEN
tcp 0
0 *:pop-2
*:*
LISTEN
tcp 0
0 *:login
*:*
LISTEN
tcp 0
0 *:shell
*:*
LISTEN
tcp 0
0 *:gopher
*:*
LISTEN
tcp 0
0 *:telnet
*:*
LISTEN
tcp 0
0 *:ftp
*:*
LISTEN
tcp 0
0 *:sunrpc
*:*
LISTEN
udp 0
0 *:time
*:*
udp 0
0 *:ntalk
*:*
udp 0
0 *:talk
*:*
udp 0
0 *:sunrpc
*:*
udp 0
0 *:syslog
*:*
raw 0
0 *:1
*:*
raw 0
0 *:6
*:*
Active UNIX domain sockets (including servers)
Proto RefCnt Flags Type
State I-Node Path
unix 1 [ N ]
STREAM CONNECTED 201
@00000009
unix 1 [ ]
STREAM CONNECTED 197
@00000007
unix 0 [ ACC ]
STREAM LISTENING 158
/tmp/.s.PGSQL.5432
unix 1 [ ]
STREAM CONNECTED 203
@0000000a
unix 1 [ ]
STREAM CONNECTED 3201
@0000008c
unix 0 [ ACC ]
STREAM LISTENING 187
/tmp/.X11-unix/X0
unix 1 [ ]
STREAM CONNECTED 228
@00000010
unix 1 [ N ]
STREAM CONNECTED 5640
@000000f4
unix 0 [ ACC ]
STREAM LISTENING 76
/dev/log
unix 1 [ ]
STREAM CONNECTED 8677
@00000161
unix 1 [ ]
STREAM CONNECTED 189
@00000004
unix 0 [ ACC ]
STREAM LISTENING 141
/var/run/gpmctl
unix 0 [ ACC ]
STREAM LISTENING 126
/dev/printer
unix 1 [ ]
STREAM CONNECTED 8678
/tmp/.X11-unix/X0
unix 1 [ ]
STREAM CONNECTED 5641
/tmp/.X11-unix/X0
unix 1 [ ]
STREAM CONNECTED 3202
/tmp/.X11-unix/X0
unix 1 [ ]
STREAM CONNECTED 229
/tmp/.X11-unix/X0
unix 1 [ ]
STREAM CONNECTED 204
/tmp/.X11-unix/X0
unix 1 [ ]
STREAM CONNECTED 202
/tmp/.X11-unix/X0
unix 1 [ ]
STREAM CONNECTED 198
/tmp/.X11-unix/X0
unix 1 [ ]
STREAM CONNECTED 190
/tmp/.X11-unix/X0
unix 0 [ ]
STREAM
139
/usr/src/linux/fs/proc/array.c
pid pid,
name
tsk->comm,
state
state,
ppid
tsk->p_pptr->pid,
?
tsk->pgrp,
tsk->session,
tsk->tty ? kdev_t_to_nr(tsk->tty->device) : 0,
tty_pgrp,
tsk->flags,
tsk->min_flt,
tsk->cmin_flt,
tsk->maj_flt,
tsk->cmaj_flt,
uptime tsk->times.tms_utime,
starttime tsk->times.tms_stime,
tsk->times.tms_cutime,
tsk->times.tms_cstime,
priority,
nice,
tsk->timeout,
tsk->it_real_value,
tsk->start_time,
vsize,
tsk->mm ? tsk->mm->rss : 0, /* you might want to shift this lef
t 3 */
tsk->rlim ? tsk->rlim[RLIMIT_RSS].rlim_cur : 0,
tsk->mm ? tsk->mm->start_code : 0,
tsk->mm ? tsk->mm->end_code : 0,
tsk->mm ? tsk->mm->start_stack : 0,
esp,
eip,
/* The signal information here is obsolete.
* It must be decimal for Linux 2.0 compatibility.
* Use /proc/#/status for real-time signals.
*/
tsk->signal .sig[0] & 0x7fffffffUL,
tsk->blocked.sig[0] & 0x7fffffffUL,
sigign .sig[0] & 0x7fffffffUL,
sigcatch .sig[0] & 0x7fffffffUL,
wchan,
tsk->nswap,
tsk->cnswap,
tsk->exit_signal);
SHORT LONG
DESCRIPTION
c
cmd
simple name of executable
C
cmdline full command line
f
flags flags
as in long format F field
g
pgrp
process group ID
G
tpgid controlling
tty process group ID
j
cutime cumulative
user time
J
cstime cumulative
system time
k
utime user
time
K
stime system
time
m
min_flt number of minor
page faults
M
maj_flt number of major
page faults
n
cmin_flt cumulative minor page
faults
N
cmaj_flt cumulative major page
faults
o
session session ID
p
pid
process ID
P
ppid
parent process ID
r
rss
resident set size
R
resident resident pages
s
size
memory size in kilobytes
S
share amount
of shared pages
t
tty
the minor device number of tty
T
start_time time process was started
U
uid
user ID number
u
user
user name
v
vsize total
VM size in bytes
y
priority kernel scheduling priority