Computing.Net > Forums > Unix > Usage statistics - how?

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Usage statistics - how?

Reply to Message Icon

Name: TheMonkeY
Date: February 28, 2005 at 16:15:32 Pacific
OS: Windows XP pro
CPU/Ram: Athlon XP 1800+ / 256mb D
Comment:

Hi,

I was wondering if there is a way to find the following information for a given time period:

-What users logged onto a server and from what IP addresses
-How many times they logged on
-What time they logged on

Thanks



Sponsored Link
Ads by Google

Response Number 1
Name: gurubit
Date: March 2, 2005 at 00:38:27 Pacific
Reply:

Use the command 'who' for the infomration. It gives you the answer for 1 and 3.
Not sure about the answer for second.


0

Response Number 2
Name: cbailey33
Date: March 2, 2005 at 02:12:10 Pacific
Reply:

If you are trying to get previous (and current) logons, I would use last.

last
Gets the users who have logged on and what time the logged on and from where.

last <username> | wc -l
Gets the number of times the user logged on.

Need more info?...... man last


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: Usage statistics - how?

How to find CPU usage, RAM, Hard Disk www.computing.net/answers/unix/how-to-find-cpu-usage-ram-hard-disk/3417.html

unix process with recent cpu usage www.computing.net/answers/unix/unix-process-with-recent-cpu-usage/4892.html

CPU for a pid in plain text? How do I ge www.computing.net/answers/unix/cpu-for-a-pid-in-plain-text-how-do-i-ge/2305.html