[ILUG-Cochin.org] Suggestions!!!

Althaf Backer althafkbacker at gmail.com
Tue Feb 17 23:15:37 IST 2009


2009/2/17 althaf <althafkbacker at gmail.com>

>  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 listMailinglist at ilug-cochin.orghttp://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.
>
>
>
Now to bring the system to previous state do this , i assume there is a
server or another machine that is monitoring other system, if so , u can
make use of ssh and public key cryptography to loin with out a password and
execute the hibernate command
eg:
if ( system == idle) {
    ssh admin at system
    exe->hibernate command with parameters
}


-- 
Althaf K Backer
Department of Computer Science
School Of engineering
Cochin University of Science and Technology
https://twitter.com/althaf_k_backer join me here
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ilug-cochin.org/pipermail/mailinglist_ilug-cochin.org/attachments/20090217/849ec9f9/attachment.html>


More information about the Mailinglist mailing list