03-10-2003
laymens terms for netstat states
Ok, I've read the manpages on netstat and it gives a good description of the state values such as CLOSE_WAIT, ESTABLISHED, SYN_RECEIVED, etc..
Can someone give me real world situations where you would get these states. LIke for example if I got SYN_RECEIVED what possible situations would be the reason i got this
Please help, any info given would be much appreciated
thanks in advance
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi all,in the midst of downloading rpm and various flavors of unix, i encountered some architecture terms and i am confused. Would anyone be kind to enlighten they mean in the world of unix?
term: meaning
i386:
x86_64:
IA32:
IA64:
AMD64:
bin:
src: (3 Replies)
Discussion started by: new2ss
3 Replies
2. Solaris
Hi Everybody,
As I am new to Sun Clusters, Please help me what is "online but not monitored" state of resources and "online - service is online" in status message. Thank you. (1 Reply)
Discussion started by: mayahari
1 Replies
3. UNIX for Advanced & Expert Users
I am trying to write my own Unix compliant (SUSv4) OS - Just a hobby OS, nothing serious. While going through the standard, I couldn't find any explicit information on process states. What I could find was (excluding the real-time considerations)-
From this it can be inferred that the... (2 Replies)
Discussion started by: tinkerbeast
2 Replies
4. UNIX and Linux Applications
Hi guys,
Can you help me please to find an appropriate course of UNIX in the United States.
Also, can you provide me some information about the schools or institutes that offer it in the U.S.
Thanks, (0 Replies)
Discussion started by: Malik Dera
0 Replies
5. Shell Programming and Scripting
netstat | awk '/server/ {for(i=1;i<2;i++) {getline;print}'
Output:
ESTABLISHED
ESTABLISHED
ESTABLISHED
ESTABLISHED
ESTABLISHED
TIME_WAIT
TIME_WAIT
From the above command I'm getting all the states. I want to count the states and write to a file, like
"Count of ESTABLISHED... (6 Replies)
Discussion started by: Roozo
6 Replies
6. Hardware
turbostat reports C-states of all CPU cores, and includes entries for each hyper-threaded core as well. Often enough the two logical cores on a single physical core will list different C state percentages. Does that make any sense?
Is this reporting the c-states of the few duplicated parts... (8 Replies)
Discussion started by: agentrnge
8 Replies
7. Shell Programming and Scripting
My question is how would i loop a read command to keep asking the user for input and eventually print the no. of valid invalid inputs after a specified control input typed i.e. (-3). (1 Reply)
Discussion started by: Flowoftruth
1 Replies
8. Shell Programming and Scripting
I am using HP-UX,KSH
$ jobs -l
+ 19377 Running nohup ksh cat_Duplicate_Records_Removal.ksh </dev/null >/dev/null 2>&1 &
$ ps -p 19377 -fl
F S UID PID PPID C PRI NI ADDR SZ WCHAN STIME TTY TIME COMD
401 S catmgr 19377 19491 ... (1 Reply)
Discussion started by: TomG
1 Replies
LEARN ABOUT PLAN9
inet_type
inet_type(4) File Formats inet_type(4)
NAME
inet_type - default Internet protocol type
SYNOPSIS
/etc/default/inet_type
DESCRIPTION
The inet_type file defines the default IP protocol to use. Currently this file is only used by the ifconfig(1M) and netstat(1M) commands.
The inet_type file can contain a number of <variable>=<value> lines. Currently, the only variable defined is DEFAULT_IP, which can be
assigned a value of IP_VERSION4, IP_VERSION6, or BOTH.
The output displayed by the ifconfig and netstat commands can be controlled by the value of DEFAULT_IP set in inet_type file. By default,
both commands display the IPv4 and IPv6 information available on the system. The user can choose to suppress display of IPv6 information by
setting the value of DEFAULT_IP. The following shows the possible values for DEFAULT_IP and the resulting ifconfig and netstat output that
will be displayed:
IP_VERSION4 Displays only IPv4 related information. The output displayed is backward compatible with older versions of the ifconfig(1M)
and netstat(1M) commands.
IP_VERSION6 Displays both IPv4 and IPv6 related information for ifconfig and netstat.
BOTH Displays both IPv4 and IPv6 related information for ifconfig and netstat.
The command-line options to the ifconfig and netstat commands override the effect of DEFAULT_IP as set in the inet_type file. For example,
even if the value of DEFAULT_IP is IP_VERSION4, the command
example% ifconfig -a6
will display all IPv6 interfaces.
EXAMPLES
Example 1: Suppressing IPv6 Related Output
This is what the inet_type file must contain if you want to suppress IPv6 related output:
DEFAULT_IP=IP_VERSION4
SEE ALSO
ifconfig(1M), netstat(1M)
SunOS 5.10 16 Jun 1999 inet_type(4)