understanding netstat output
hello all, when i invoke netstat, i get the following : Active UNIX domain sockets (w/o servers) Proto RefCnt Flags Type State I-Node Path unix 2 [ ] STREAM 824491 /tmp/.X11-unix/X0 unix 2 [ ] STREAM CONNECTED 824490 unix 2 [ ] STREAM 824228 /tmp/.X11-unix/X0 unix 2 [ ] STREAM CONNECTED 824227 unix 2 [ ] STREAM 824171 /tmp/.X11-unix/X0 unix 2 [ ] STREAM CONNECTED 824147 unix 2 [ ] STREAM 715277 /dev/log unix 2 [ ] STREAM CONNECTED 715276 unix 2 [ ] STREAM 2095 /dev/log unix 2 [ ] STREAM CONNECTED 2094 unix 2 [ ] STREAM 1158 /dev/log unix 2 [ ] STREAM CONNECTED 1157 unix 2 [ ] STREAM 1126 /dev/log unix 2 [ ] STREAM CONNECTED 1125 unix 1 [ ] STREAM 1054 can someone please tell me what they all mean ? or maybe direct me to docs that i could read so that ill know what they are. TIA, Chad
Re: understanding netstat output
hello all, when i invoke netstat, i get the following : Active UNIX domain sockets (w/o servers) Proto RefCnt Flags Type State I-Node Path unix 2 [ ] STREAM 824491 /tmp/.X11-unix/X0 unix 2 [ ] STREAM CONNECTED 824490 unix 2 [ ] STREAM 824228 /tmp/.X11-unix/X0 unix 2 [ ] STREAM CONNECTED 824227 unix 2 [ ] STREAM 824171 /tmp/.X11-unix/X0 unix 2 [ ] STREAM CONNECTED 824147 unix 2 [ ] STREAM 715277 /dev/log unix 2 [ ] STREAM CONNECTED 715276 unix 2 [ ] STREAM 2095 /dev/log unix 2 [ ] STREAM CONNECTED 2094 unix 2 [ ] STREAM 1158 /dev/log unix 2 [ ] STREAM CONNECTED 1157 unix 2 [ ] STREAM 1126 /dev/log unix 2 [ ] STREAM CONNECTED 1125 unix 1 [ ] STREAM 1054 can someone please tell me what they all mean ? or maybe direct me to docs that i could read so that ill know what they are. TIA, Chad The list of streams you get in the netstat output is showing you what --- Andrei S. Ivanov [EMAIL PROTECTED] [EMAIL PROTECTED] UIN 12402354 http://members.tripod.com/AnSIv --Little things for Linux. http://www.missouri.edu/~c680789 --Computer languages of the world My work in progress. ---
Re: understanding netstat output
Active UNIX domain sockets (w/o servers) Proto RefCnt Flags Type State I-Node Path unix 2 [ ] STREAM 824491 /tmp/.X11-unix/X0 unix 2 [ ] STREAM CONNECTED 824490 unix 2 [ ] STREAM 824228 /tmp/.X11-unix/X0 unix 2 [ ] STREAM CONNECTED 824227 unix 2 [ ] STREAM 824171 /tmp/.X11-unix/X0 unix 2 [ ] STREAM CONNECTED 824147 unix 2 [ ] STREAM 715277 /dev/log unix 2 [ ] STREAM CONNECTED 715276 unix 2 [ ] STREAM 2095 /dev/log unix 2 [ ] STREAM CONNECTED 2094 unix 2 [ ] STREAM 1158 /dev/log unix 2 [ ] STREAM CONNECTED 1157 unix 2 [ ] STREAM 1126 /dev/log unix 2 [ ] STREAM CONNECTED 1125 unix 1 [ ] STREAM 1054 These are 'unix domain' sockets. They are a seperate protocol from tcp/ip, and AFAIK are mainly unsed by X11. Any comprehensive unix network programming book would discuss them, and the advantages/disadvantages of them over tcp/ip. But for normal users, they are jsut a different type of socket that some programs use. Carl
Re: understanding netstat output
Subject: understanding netstat output Date: Tue, Jul 27, 1999 at 01:14:02PM +0800 In reply to:Chad A. Adlawan Quoting Chad A. Adlawan([EMAIL PROTECTED]): hello all, can someone please tell me what they all mean ? or maybe direct me to docs that i could read so that ill know what they are. Hate to mention the obivious, but the manual page explains it pretty well. man netstat HTH, YMMV, HAND -- It is practically impossible to teach good programming style to students that have had prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration. -- Dijkstra ___ Wayne T. Topa [EMAIL PROTECTED]