Networking Forums

Networking Forums > Computer Networking > Linux Networking > How to find uptime on a host?

Reply
Thread Tools Display Modes

How to find uptime on a host?

 
 
AlbertE
Guest
Posts: n/a

 
      09-10-2005, 12:45 AM
If I take a "nmap -P0 -n -sU -sS -p 80 -O www.freebsd.org" on my FreeBSD
v5.4 I get this output:

Starting nmap 3.81 ( http://www.insecure.org/nmap/ ) at 2005-09-10 02:40
CEST
Warning: OS detection will be MUCH less reliable because we did not find at
least 1 open and 1 closed TCP port
Interesting ports on 216.136.204.117:
PORT STATE SERVICE
80/tcp open http
80/udp open|filtered http
Device type: general purpose
Running: OpenBSD 3.X
OS details: OpenBSD 3.6 x86 with pf "scrub in all"
Uptime 134.821 days (since Thu Apr 28 06:58:19 2005)
Nmap finished: 1 IP address (1 host up) scanned in 17.816 seconds

With this I can easily grep the uptime. If I do the same with
www.microsoft.com, it doesn't give me this uptime:

Starting nmap 3.81 ( http://www.insecure.org/nmap/ ) at 2005-09-10 02:42
CEST
Warning: OS detection will be MUCH less reliable because we did not find at
least 1 open and 1 closed TCP port
Interesting ports on 207.46.18.30:
PORT STATE SERVICE
80/tcp open http
80/udp open|filtered http
Device type: general purpose
Running (JUST GUESSING) : IBM AIX 4.X|3.X (88%)
Aggressive OS guesses: IBM AIX 4.3.2.0-4.3.3.0 on an IBM RS/* (88%), IBM AIX
v3.2.5 - 4 (87%), IBM AIX 4.2-4.3.3 (87%), IBM AIX v4.2 (87%)
No exact OS matches for host (test conditions non-ideal).
Nmap finished: 1 IP address (1 host up) scanned in 55.904 seconds

I know that Netcraft is able to see this uptime but how do they do and how
do I get this uptime from any host?


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Uptime Reporting =?Utf-8?B?UnVzdHk=?= Windows Networking 0 05-21-2004 11:01 AM
can't find server/host Brian Windows Networking 3 12-07-2003 10:55 AM
display server uptime Arron Linux Networking 2 09-23-2003 06:03 AM
Win98SE host 2 networked XP's unable to find DSL Paul Windows Networking 4 08-07-2003 05:40 PM
Q: where to find a hint why DHCP isn't registering a certain host with DNS Thomas Jachmann Linux Networking 0 07-25-2003 07:26 PM



1 2 3 4 5 6 7 8 9 10 11