Report
(1)
Windows
(1)
Advans
(1)
Flags
(1)
Inet
(1)

'netstat' and '-f inet' option

Asked By Karthik Balaguru
20-Feb-10 07:30 AM
Hi,

I have been trying to use the command of
'netstat -a -n -f inet' to generate a report on all
network end points not just the ESTABLISHED
(-a option) by printing the IP addresses as
dotted-decimal numbers(-n option), but only for
TCP and UDP end points(-f inet option). But,
strangely, the '-f inet' option does not seem
to work in linux.

So, i tried the same command in windows vista
too, but the same option of  '-f inet' did not work
there too.

So, is the option of '-f inet' has been deprecated
in netstat command . Which other option covers up
the feature of reporting only TCP and UDP
end points that was provided by '-f inet' option ?
Any ideas ?

Thx in advans,
Karthik Balaguru

Try --inet instead on linux.

Martijn Lievaart replied to Karthik Balaguru
20-Feb-10 08:18 AM
Try --inet instead on linux. These kinds of flags are not standarised, so
for every OS it is different.

M4

Thx for highlighting it.Thx,Karthik Balaguru

Karthik Balaguru replied to Martijn Lievaart
25-Feb-10 01:01 AM
Thx for highlighting it.

Thx,
Karthik Balaguru
Post Question To EggHeadCafe