LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-07-2010, 08:01 PM   #1
i.you
Member
 
Registered: Oct 2006
Posts: 46

Rep: Reputation: 15
determining if system is active or inactive


Hi there,

For example, when a system transitions to sleep state, the system should determine if system is active or inactive.
I'm thinking of how to determine it as user activity, filesystem activity, and network activity.
I will exclude the keyboard activity.

So I'm wondering how to determine it generally in Linux (excluding keyboard activity).
Any idea or any related site?

Thanks in advance.
 
Old 02-07-2010, 08:13 PM   #2
Elv13
Member
 
Registered: Apr 2006
Location: Montreal,Quebec
Distribution: Gentoo
Posts: 825

Rep: Reputation: 128Reputation: 128
top, iotop and ntop

or read the raw data from /proc and make a choice
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Keyboard inactive when log in GUI, but active on Console, any command line ?? Msi100SuSe10 Linux - Laptop and Netbook 16 01-26-2010 08:09 AM
Neat : After wireless Active, it become Inactive Again yteckong Linux - Wireless Networking 4 05-09-2007 07:00 AM
Determining the Active Virtual Console MasterPi Linux - General 5 05-02-2005 11:11 PM
determining active x window tcorreia Programming 1 08-22-2004 05:52 AM
determining active x window tcorreia Linux - General 1 08-20-2004 03:55 AM


All times are GMT -5. The time now is 09:34 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration