On Tue, Feb 17, 2009 at 8:49 PM, rathin r <[email protected]> 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.


Are you creating a file system watcher?


> 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 ..


I think you can wait for keypress and timeout. At timeout, check the running
processes and see if there is any "white listed" processes (eg: your d/l
manager) running. If none, declare that system is idle.


> And
> the configurations that are to be created on all systems can be
> created on a single one and then forwarded to all.


Didnt understand


> 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.
>

Check with your mail admin to see if you can use their user database. Before
that define your privacy policy ;-)

>
> PS: I am open to suggestions .Feel free to reply.
> regards,
> --
> RATHIN.R
> CS 06-10
>
>


-- 
Regards,
Jain Johny
_______________________________________________
Mailinglist mailing list
[email protected]
http://ilug-cochin.org/mailman/listinfo/mailinglist_ilug-cochin.org

Reply via email to