Home > Networking Tips > Network Engineering > Who and how long? - Monitoring network usage
Networking Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

NETWORK ENGINEERING

Who and how long? - Monitoring network usage


Barrie Sosinsky
12.22.2003
Rating: -3.50- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


One easy method for determining how long a system has been running a session is to use the UPTIME command. This command displays not only the length of the session, but the time it started up, how many users are connected, and the load averages of each user. The following is typical of the output of this command:

# uptime
12:30PM up 2 days, 24 mins, 4 users, load averages: 4.23, 12.36, 8.34, 15.10

UPTIME displays the current time, the session length, current number of logged in users, and the load average. The load average measures how many runnable processes are occurring over an interval. The load averages shown here are for the last 1, 5, and 15 minutes. Different versions of Unix implement the UPTIME command in different ways, so it's a good idea to check the MAN files for this command to see if there are additional capabilities.

Essentially, the UPTIME command displays the header line of the more general W command. The W command displays "Who is on the system?" Along with the above header, the W command also outputs a user's login terminal, their login time, and the current command that that user is running. The WHO, WHOAMI, and the FINGER commands are related to the W command, giving specific information about current users. Sample output of the W command is shown below:

$ w
12:30PM up 2 days, 24 mins, 4 users, load average: 4.23, 12.36, 8.34, 15.10
User  tty  login@  idle JCPU PCPU what 
carol ttyq1 11:01am  47  2:15  w
barry ttyq2 8:45am  3:35  mail

Either of these commands can help you keep track of your network, especially if you are new to Unix.


Barrie Sosinsky is president of consulting company Sosinsky and Associates (Medfield MA). He has written extensively on a variety of computer topics. His company specializes in custom software (database and Web related), training and technical documentation.


Rate this Tip
To rate tips, you must be a member of SearchNetworking.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Network Management
Common network errors and causes
Network monitoring -- Best practices
Change management policy
Networking Products of the Year 2004
Configuring HSRP and VRRP on Cisco routers
Dust
Auto-MDIX
In search of... an affordable management platform
The best of 2004
Network administrator documentation

Network Engineering
How to test LAN switch energy efficiency
Testing LAN switch power consumption: A best practices guide
Desktop virtualization network requirements
Preventing hacker attacks with network behavior analysis IPS
Internal cloud computing on the cheap: Free automated provisioning?
Improved storage performance without adding more disk
Troubleshooting -- 'Network Know-How' Chapter 17
Windows Server 2008 IP routing configuration: Static and dynamic RIPv2
Understand Windows tracert output to troubleshoot network connectivity
Using tracert and TTL to troubleshoot network connectivity problems

Network Monitoring
University tackles large-scale 802.11n wireless network management
Meru reinvents wireless LAN troubleshooting and management
Green enterprise: Three networking investments that make a difference
Network device management overload: Engineers managing too many boxes
What preventative maintenance procedures for network devices exist?
WLAN QoS and SLA monitoring with 7/24 Wireless Quality Assurance costs
How important are network infrastructure maps for engineers or admins?
Understand Windows tracert output to troubleshoot network connectivity
Network management and monitoring market remains crowded, fragmented
When do applications suffer from poor network performance?
Network Monitoring Research

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
10-high-day busy period  (SearchNetworking.com)
ACK  (SearchNetworking.com)
baseboard management controller  (SearchNetworking.com)
call failure rate  (SearchNetworking.com)
jam  (SearchNetworking.com)
Jini  (SearchNetworking.com)
maximum segment size  (SearchNetworking.com)
maximum transmission unit  (SearchNetworking.com)
netstat  (SearchNetworking.com)
network tracking tool  (SearchNetworking.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Networking Solutions for Business

Alcatel-Lucent Network Business Communications Solutions

About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2000 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts