[ILUG-Cochin.org] Suggestions!!!

althaf althafkbacker at gmail.com
Tue Feb 17 23:07:00 IST 2009


On Tue, 2009-02-17 at 22:36 +0530, Fayaz useful wrote:

> Ok... So what kind of output are you trying generate?
> I just fell in love with my life...
> 
> 
> 
> On Tue, Feb 17, 2009 at 22:20, rathin r <rathin88 at gmail.com> wrote:
> 
>         Its not cross platform .. I wanted to implement it on
>         Ubuntu .. And its that i want the system to be idle for half
>         an hour or so. Just for a really small time period being idle
>         isnt wat i meant it to work on. 
>         
>         
>         
>         
>         On Tue, Feb 17, 2009 at 10:12 PM, Fayaz useful
>         <fayaz.yusuf.khan at gmail.com> wrote:
>         
>                 Are you trying to do this cross-platform? I think the
>                 system can be considered idle for all the time the
>                 'init' program is taking CPU cycles...
>                 I just fell in love with my life...
>                 
>                 
>                 
>                 
>                 On Tue, Feb 17, 2009 at 20:49, rathin r
>                 <rathin88 at gmail.com> wrote:
>                 
>                         
>                         hi,
>                         I have got a mini-project to do.So i need
>                         suggestion frm u all .I will brief u on wat ma
>                         project is .
>                         I am doing a system administration project .
>                         In it  i need the following functionalities :
>                         
>                         I want to monitor a system that is idle.
>                         For that i thought i would create a log which
>                         i keep checking. For that i
>                         create a link kinda structure using XML . For
>                         eg: if i have a dir,
>                         dir1 and in it i have dir2 . i will create a
>                         link b/w them to show
>                         that are linked.and along with that i need to
>                         maintain  a record of
>                         the time it was created. If no link is created
>                         in a time span of half
>                         an hour then the system is supposed to be
>                         idle. Also there can be a
>                         state when a person is reading a text file.For
>                         that i would check
>                         whether there has been a key press. And if not
>                         then the system is
>                         idle. Also we have to check for a user
>                         initiated process like
>                         downloading or somethin. then too the system
>                         has to stay alive .. And
>                         the configurations that are to be created on
>                         all systems can be
>                         created on a single one and then forwarded to
>                         all.I hope this does
>                         satisfy the problem statement for ma project.
>                         If you want to add
>                         somethin then feel free to mail me. pls. And
>                         also i need to create a
>                         login for all the systems based on their
>                         college ids  . So any suggestions
>                         on that .. i mean how to integrate it with our
>                         mail server. 
>                         
>                         PS: I am open to suggestions .Feel free to
>                         reply. 
>                         regards,
>                         -- 
>                         RATHIN.R
>                         CS 06-10
>                         MODEL ENGINEERING COLLEGE
>                         rathin at mec.ac.in
>                         
>                         
>                         
>                         _______________________________________________
>                         Mailinglist mailing list
>                         Mailinglist at ilug-cochin.org
>                         http://ilug-cochin.org/mailman/listinfo/mailinglist_ilug-cochin.org
>                         
>                 
>                 
>                 
>                 _______________________________________________
>                 Mailinglist mailing list
>                 Mailinglist at ilug-cochin.org
>                 http://ilug-cochin.org/mailman/listinfo/mailinglist_ilug-cochin.org
>                 
>         
>         
>         
>         
>         -- 
>         RATHIN.R
>         CS 06-10
>         MODEL ENGINEERING COLLEGE
>         rathin at mec.ac.in
>         
>         
>         
>         _______________________________________________
>         Mailinglist mailing list
>         Mailinglist at ilug-cochin.org
>         http://ilug-cochin.org/mailman/listinfo/mailinglist_ilug-cochin.org
>         
> 
> 
> 
> _______________________________________________
> Mailinglist mailing list
> Mailinglist at ilug-cochin.org
> http://ilug-cochin.org/mailman/listinfo/mailinglist_ilug-cochin.org

Hey there jst do this .. get grep the output of the command "top" ,there
u can see cpu usage , jst use a script to grep it using regular
expression. 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ilug-cochin.org/pipermail/mailinglist_ilug-cochin.org/attachments/20090217/88906c6c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://ilug-cochin.org/pipermail/mailinglist_ilug-cochin.org/attachments/20090217/88906c6c/attachment-0001.bin>


More information about the Mailinglist mailing list