<br><br><div class="gmail_quote">On Tue, Feb 17, 2009 at 8:49 PM, rathin r <span dir="ltr"><<a href="mailto:rathin88@gmail.com">rathin88@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
hi,<br>I have got a mini-project to do.So i need suggestion frm u all .I will brief u on wat ma project is .<br>I am doing a system administration project . In it i need the following functionalities :<br><br>I want to monitor a system that is idle.<br>
For that i thought i would create a log which i keep checking. For that i<br>
create a link kinda structure using XML . For eg: if i have a dir,<br>
dir1 and in it i have dir2 . i will create a link b/w them to show<br>
that are linked.and along with that i need to maintain a record of<br>
the time it was created. If no link is created in a time span of half<br>
an hour then the system is supposed to be idle.</blockquote><div><br>Are you creating a file system watcher?<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Also there can be a<br>
state when a person is reading a text file.For that i would check<br>
whether there has been a key press. And if not then the system is<br>
idle. Also we have to check for a user initiated process like<br>
downloading or somethin. then too the system has to stay alive ..</blockquote><div><br>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.<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> And<br>
the configurations that are to be created on all systems can be<br>
created on a single one and then forwarded to all.</blockquote><div><br>Didnt understand<br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I hope this does<br>
satisfy the problem statement for ma project. If you want to add<br>
somethin then feel free to mail me. pls. And also i need to create a<br>
login for all the systems based on their college ids . So any suggestions<br>
on that .. i mean how to integrate it with our mail server. <br></blockquote><div><br>Check with your mail admin to see if you can use their user database. Before that define your privacy policy ;-)<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>PS: I am open to suggestions .Feel free to reply. <br clear="all">regards,<br><font color="#888888">-- <br>RATHIN.R<br>CS 06-10</font><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>Jain Johny<br>