I have a number of open files connecting to the rpcbind process running on HPUX 11.00. Usinf lsof -p rpcbind I am unable to identify the ip addresses of the open files. Example of one below - Any ideas?
rpcbind 19754 root 100u inet 72,0x72 0t0 TCP 79.60.53.40:* (BOUND) (2 Replies)
hello
Sorry but i don't understand very well the lsof command with the man.
Can you explain to me what is the use of this command ?
thank you (2 Replies)
Hi All,
I'm having a problem with "lsof" in HP-UX system. Its giving me 2 two different results when running it.
1 . lsof -p 'PID' | wc -l -----gives some value
2 . lsof | grep 'PID' | wc -l
The above two commands gives me two different values with the same PID......
Thanks (6 Replies)
Hi All,
My target is to find the biggest files opened by any process and from that i have to find process id and the corresponding file also.
To get the process id which is accessing the biggest file in the given file system, i am using the below command.
lsof -s /home/arun/my_work |... (3 Replies)
I'm looking to list all of the files open at a certain time up on a UNIX box.
From looking on the internet, it looks as though lsof is the most common.
However have tried this and got the following:
ksh: lsof: not found
Now having gone into bash mode and hit tab twice I see that lsof... (3 Replies)
Hi,
I typed lsof -i :80 in my putty but i am not able to get sockets related to port 80
Can any one help me out soon
Can anyone point out the reason for not able to get the related sockets
Output of what i am getting in my putty is displayed below
training@use:~> lsof -i :80... (4 Replies)
In Linux and Solaris lsof accepts the -X switch which allows to see if deleted files are still in use and eat disk space. In HP-UX it is now working and it is a problem... today one of my filesystems on the server was increasing very fast but existing file sizes were not really changing. lsof shows... (3 Replies)
Hi,
I am trying to find the files in a specific directory that are currently in open state. I need this information to archive the old files that are not active in the directory.
I get the following output when I try the command $ lsof +d '/var/tmp/'|awk '{print $9}'|sort -u
NAME... (1 Reply)
Discussion started by: ryzen7
1 Replies
LEARN ABOUT POSIX
ip-tcp_metrics
IP-TCP_METRICS(8) Linux IP-TCP_METRICS(8)NAME
ip-tcp_metrics - management for TCP Metrics
SYNOPSIS
ip [ OPTIONS ] tcp_metrics { COMMAND | help }
ip tcp_metrics { show | flush } SELECTOR
ip tcp_metrics delete [ address ] ADDRESS
SELECTOR := [ [ address ] PREFIX ]
DESCRIPTION
ip tcp_metrics is used to manipulate entries in the kernel that keep TCP information for IPv4 and IPv6 destinations. The entries are cre-
ated when TCP sockets want to share information for destinations and are stored in a cache keyed by the destination address. The saved
information may include values for metrics (initially obtained from routes), recent TSVAL for TIME-WAIT recycling purposes, state for the
Fast Open feature, etc. For performance reasons the cache can not grow above configured limit and the older entries are replaced with
fresh information, sometimes reclaimed and used for new destinations. The kernel never removes entries, they can be flushed only with this
tool.
ip tcp_metrics show - show cached entries
address PREFIX (default)
IPv4/IPv6 prefix or address. If no prefix is provided all entries are shown.
The output may contain the following information:
age <S.MMM>sec - time after the entry was created, reset or updated with metrics from sockets. The entry is reset and refreshed on use with
metrics from route if the metrics are not updated in last hour. Not all cached values reset the age on update.
cwnd <N> - CWND metric value
fo_cookie <HEX-STRING> - Cookie value received in SYN-ACK to be used by Fast Open for next SYNs
fo_mss <N> - MSS value received in SYN-ACK to be used by Fast Open for next SYNs
fo_syn_drops <N>/<S.MMM>sec ago - Number of drops of initial outgoing Fast Open SYNs with data detected by monitoring the received SYN-ACK
after SYN retransmission. The seconds show the time after last SYN drop and together with the drop count can be used to disable Fast Open
for some time.
reordering <N> - Reordering metric value
rtt <N>us - RTT metric value
rttvar <N>us - RTTVAR metric value
ssthresh <SSTHRESH> - SSTHRESH metric value
tw_ts <TSVAL>/<SEC>sec ago - recent TSVAL and the seconds after saving it into TIME-WAIT socket
ip tcp_metrics delete - delete single entry
address ADDRESS (default)
IPv4/IPv6 address. The address is a required argument.
ip tcp_metrics flush - flush entries
This command flushes the entries selected by some criteria.
This command has the same arguments as show.
EXAMPLES
ip tcp_metrics show address 192.168.0.0/24
Shows the entries for destinations from subnet
ip tcp_metrics show 192.168.0.0/24
The same but address keyword is optional
ip tcp_metrics
Show all is the default action
ip tcp_metrics delete 192.168.0.1
Removes the entry for 192.168.0.1 from cache.
ip tcp_metrics flush 192.168.0.0/24
Removes entries for destinations from subnet
ip tcp_metrics flush all
Removes all entries from cache
ip -6 tcp_metrics flush all
Removes all IPv6 entries from cache keeping the IPv4 entries.
SEE ALSO ip(8)AUTHOR
Original Manpage by Julian Anastasov <ja@ssi.bg>
iproute2 23 Aug 2012 IP-TCP_METRICS(8)