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
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
Reducing file sizes to save the network

Network Engineering
How to achieve server virtualization in your network
Limit network energy consumption with computer cooling technologies
Understanding remote scripting -- Managing Windows networks using scripts, part 9
Network mapping in Vista for Windows XP
Recovering domain controllers after a server disk failure
Recovering from a server disk failure: The shortcomings of NTBCKUP
Enabling Windows Vista's Network Mapping feature on domain networks
Prevent unauthorized USB devices with software restriction policies, third-party apps
How to subnet: Subnetting calculations and shortcuts
Using Windows Vista group policy to prevent unauthorized USB device use

Network Monitoring
Networking data visualization not just for pointy-headed bosses
What network security threat does a QM FSM error pose in IPsec VPNs?
Juniper updates Network and Security Manager to manage full portfolio
Network management software vendors readying IPv6
DNS management becoming critical to businesses but poorly understood
SolarWinds adds enterprise scalability to its network monitoring tool
Network forensics appliance gets storage boost and 10 GbE support
Tracking NetFlow over MPLS helps airline with compliance
When it comes to data loss prevention, networking should be part of the conversation
Network management takes interface tips from gaming industry, Google
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
IT Management Solutions and Services Directory.
HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersNetworking Product Trials
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




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