10-21-2011
What do you mean by last reboot if you meant last boot time then you can see the start time for the init process and see it's start time
10 More Discussions You Might Find Interesting
1. Solaris
Hi,
I have two Solaris machines.
1. SunOS X 5.8 Generic_108528-29 sun4u sparc SUNW,Sun-Blade-1500
2. SunOS Y 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-60
I am trying to buiild a project on both these machines. The Binary output file compiled on machine 2 runs on both the machines. Where... (0 Replies)
Discussion started by: scgupta
0 Replies
2. Solaris
Hi Guru's
Can any want here could explain to me the different between soft reboot and hard reboot .
Best Regards
Seelan (3 Replies)
Discussion started by: seelan3
3 Replies
3. UNIX for Advanced & Expert Users
hi,
I opened a simple text file by vi. I then started another shell, and did fuser myFile. I expected it to show the pid of the vi session that had that file open, but it just returned a blank.
why would this be?
thanks (4 Replies)
Discussion started by: JamesByars
4 Replies
4. UNIX for Dummies Questions & Answers
ls -l shows the number of links for each file. Is there a command that will show the link sources for a specific file? Running find on the entire filesystem and doing a little Perl "magic" is the only method I'm aware of. I'm running SunOS 5.8.
Thanks. (6 Replies)
Discussion started by: effigy
6 Replies
5. AIX
Hi
I am facing strange issue in one direcotry it is not showing year of file,
can you please suggest me wheather there is any limitation on year,
on some other file though it is showing the dates.
Regards,
Manoj. (1 Reply)
Discussion started by: manoj.solaris
1 Replies
6. Shell Programming and Scripting
Is there a way to show the first 4 lines of a file without using head -4?
In sed would it be sed '1,4d' ?
What if I just wanted to display the 2nd line ONLY?
How could this be done with AWK?...correctly with SED? (6 Replies)
Discussion started by: puttster
6 Replies
7. UNIX for Dummies Questions & Answers
Hi
i have written a infinite loop which writes to a file log.txt
while
do
echo " file in use " >> log.txt
done
i have started this process in one terminal , from another terminal i issued cp command
cp log.txt log2.txt
i was expecting a File in use message but didnt ?
i have... (6 Replies)
Discussion started by: rakeshkumar
6 Replies
8. Solaris
Hi All, I am trying to aggregate the NIC's,(igb2 and igb3) (igb0 is used by the physical system and igb1 is used by primary-vsw0) to create the domains on that for faster data transfer, I followed the process for creating the aggregation, dladm create-aggr -d igb2 -d igb3 1
after creating the... (2 Replies)
Discussion started by: buildscm
2 Replies
9. Shell Programming and Scripting
Hello *nix specialists,
Im working for a non profit organisation in Germany to transport DSL over WLAN to people in areas without no DSL. We are using Linksys WRT 54 router with DD-WRT firmware There are at the moment over 180 router running but we have to change some settings next time. So my... (7 Replies)
Discussion started by: digidax
7 Replies
10. Solaris
so here's teh deal:
Solaris 11.3 zone created from a template created by configuring a zone, running sysconfig unconfigure on it and then saved by a zfs send and receive.
create the new zoneconfig, import the template FS using zfs recieve. Now everytime we reboot the new zone it makes us do... (0 Replies)
Discussion started by: os2mac
0 Replies
LEARN ABOUT SUSE
runit-init
runit-init(8) System Manager's Manual runit-init(8)
NAME
init - a UNIX process no 1
SYNOPSIS
init [ 0 | 6 ]
DESCRIPTION
runit-init is the first process the kernel starts. If runit-init is started as process no 1, it runs and replaces itself with runit(8).
If runit-init is started while the system is up, it must be either called as init 0 or init 6:
init 0 tells the Unix process no 1 to shutdown and halt the system. To signal runit(8) the system halt request, runit-init removes all
permissions of the file /etc/runit/reboot (chmod 0), and sets the execute by owner permission of the file /etc/runit/stopit (chmod
100). Then a CONT signal is sent to runit(8).
init 6 tells the Unix process no 1 to shutdown and reboot the system. To signal runit(8) the system reboot request, runit-init sets the
execute by owner permission of the files /etc/runit/reboot and /etc/runit/stopit (chmod 100). Then a CONT signal is sent to
runit(8).
EXIT CODES
runit-init returns 111 on error, 0 in all other cases.
SEE ALSO
runit(8), runsvdir(8), runsvchdir(8), sv(8), runsv(8), chpst(8), utmpset(8), svlogd(8)
http://smarden.org/runit/
AUTHOR
Gerrit Pape <pape@smarden.org>
runit-init(8)