520 reputation
11226
bio website
location
age
visits member for 2 years, 4 months
seen Dec 16 at 1:17

Dec
15
awarded  Notable Question
Nov
20
awarded  Popular Question
Nov
14
awarded  Notable Question
Nov
13
awarded  Notable Question
Nov
12
awarded  Notable Question
Nov
9
awarded  Notable Question
Nov
6
accepted Find out at what time my machine got restarted and why?
Nov
6
comment Find out at what time my machine got restarted and why?
meaning system rebooted at 02:34 AM in the morning today? And what does shut down mean then in this context? Isn't they should be same?
Nov
6
comment Find out at what time my machine got restarted and why?
Thanks robbat for the help. After I ran last command as you told me, I got one line which shows this reboot system boot 2.6.35-22-server Wed Nov 5 02:34 - 23:19 (20:45) what does this mean? I was not able to understand this line 02:34 - 23:19 specifically?
Nov
6
comment Find out at what time my machine got restarted and why?
when you say first field of /proc/uptime you mean to say 20:21 in my case? I tried running this awk '//{print strftime("%c",systime()-$1)}' /proc/uptime but I got an error as awk: line 2: function strftime never defined awk: line 2: function systime never defined
Nov
6
comment Find out at what time my machine got restarted and why?
Yup, very well aware of that :) It's my bad luck that I got these VM's in our company which is running Ubuntu 10.10.
Nov
6
asked Find out at what time my machine got restarted and why?
Nov
6
comment How to restart my server automatically using crontab if they went down?
@Patrick I was not able to understand what you said? :(
Nov
6
comment How to restart my server automatically using crontab if they went down?
Yes java is in /usr/bin. This is what I got /usr/bin/java after I did which java. And what is this /opt/java/latest in your suggestion.
Nov
6
comment How to restart my server automatically using crontab if they went down?
@glennjackman I am running Ubuntu 10.10 which has no support whatsoever. I have already tried and some of the commands doesn't work.
Nov
6
asked How to restart my server automatically using crontab if they went down?
Nov
3
awarded  Notable Question
Oct
24
awarded  Popular Question
Oct
10
awarded  Popular Question
Sep
26
awarded  Popular Question