3

I was using the following command on my previous dedicated server with the same version of the FreeBSD installation:

# uname -a FreeBSD 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 UTC 2013 [email protected]:/usr/obj/usr/src/sys/GENERIC amd64 

The command is following:

netstat -ntu -f inet 

Output:

netstat: illegal option -- t 

Why doesn't it work anymore? I don't have an access to my previous dedicated server so I can't use the man to check the differences.

1

2 Answers 2

1

Up to FreeBSD 8.x (at least as of 8.4-RELEASE) it was possible to use the -t option with netstat -i/-I (show the state of all network interfaces/a specific interface).

From FreeBSD 8.4-RELEASE netstat man:

If -t is also present, show the contents of watchdog timers. 

This indeed had disappeared from FreeBSD 9.x (see FreeBSD 9.2-RELEASE netstat man). We can only conclude that it is not possible anymore to check the value of these timers through netstat (if ever these timers have meaning with the 9.x releases).

By the way, -t had no meaning with -n. So I guess it was not reporting any error because the syntax checker was a bit too permissive but it was adding nothing to your netstat output.

0

You can check man on the freebsd website

In short review I see that -t was removed in 9. X branch for some reasons

2
  • Thanks for the answer. Yeah it seems like it is but I wonder if there is any replacement for it , or I just can use the same command without the -t argument? Commented Feb 24, 2014 at 15:01
  • I dont know what information do you need, but without -t i will works. Commented Feb 25, 2014 at 7:36

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.