08-17-2006
under linux:
cat /proc/uptime
very handy in scripting
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I'm looking for advice on where is the best place on Solaris to put a script that will setup system vairables prior to any users loging in. I've tried /etc/rc3.d without much success as the variables do not appear in the output from an env command.
I want the system to have these... (7 Replies)
Discussion started by: ianf
7 Replies
2. UNIX for Dummies Questions & Answers
I'm new to UNIX....
I'm running SCO UNIX and would like to disable routed daemon from being start at boot time.
How should I do this????? Please help. (2 Replies)
Discussion started by: rrivas
2 Replies
3. UNIX for Advanced & Expert Users
Hi,
I have a program that check the IP address and automatic update it to the DNS server. I would like to run this program when the computer bootup after pppd get a connection. How do I add it to the init file. Does any one have any information of how to do it.
I run a Linux Mandrake as a... (1 Reply)
Discussion started by: vtran4270
1 Replies
4. BSD
Say for instance, I would like to reduce the delay/waiting time for the boot-time menu from 10 seconds to 5 seconds, how would I go about doing it?
From what I've been able to find, entering "autoboot 5" into the right file would take care of that for me, but the man pages are unclear as to... (1 Reply)
Discussion started by: DownSouthMoe
1 Replies
5. Ubuntu
Hi masters,
I am still learning trades in kernel. I am trying to learn the basic of daemon programming. Can any one tell me how can I start a daemon automatically during boot up. I will be greatfull if anyone post some example code to the above task.
Also what are... (3 Replies)
Discussion started by: iamjayanth
3 Replies
6. HP-UX
When I get start program at boot
I read which run level
/sbin/rcx.d runlevel=0.....x
only read directory which directory name has UpperCase 'S'
is not enough
someone says that I need to reference another file
which file I need to reference
1)/etc/rc.config.d/all file which parameter... (4 Replies)
Discussion started by: alert0919
4 Replies
7. HP-UX
I use the uptime command,but
it only show how long system has been up
up 18 days
but I want the this format
machine boot time YYYY-MM-DD hh:mm:ss
does any command can get that or how to i use program to do this (6 Replies)
Discussion started by: alert0919
6 Replies
8. Ubuntu
After upgrading my 9.04 version to the 9.10 my boot time duplicates.
I donīt know the reason why the time of boot gets to the double.
Someone ???
Thx. (1 Reply)
Discussion started by: diesan
1 Replies
9. Shell Programming and Scripting
I have a Microdia web cam. Some times it won't work if and only if there is a "HV7131R image sensor detected" statement in the boot up.
In this case when I try to get a .png snapshot all I get is a frame full of what appears to be white noise only it is mostly green.
Here is the command I am... (0 Replies)
Discussion started by: slak0
0 Replies
10. UNIX for Dummies Questions & Answers
My Linux system was last rebooted few hours ago.
But it seems little confusing for me to figure out the exact reason behind it.
I guess following command should justify what i meant to say.
# date
Wed May 11 13:22:49 IST 2011
# last | grep "May 10"
reboot system boot 2.6.18-194.el5 ... (5 Replies)
Discussion started by: pinga123
5 Replies
LEARN ABOUT CENTOS
systemd-efi-boot-generator
SYSTEMD-EFI-BOOT-GENERATOR(8) systemd-efi-boot-generator SYSTEMD-EFI-BOOT-GENERATOR(8)
NAME
systemd-efi-boot-generator - Generator for automatically mounting the EFI System Partition used by the current boot to /boot
SYNOPSIS
/usr/lib/systemd/system-generators/systemd-efi-boot-generator
DESCRIPTION
systemd-efi-boot-generator is a generator that automatically creates mount and automount units for the EFI System Partition (ESP), mounting
it to /boot. Note that this generator will execute no operation on non-EFI systems, on systems where the boot loader does not communicate
the used ESP to the OS, on systems where /boot is an explicitly configured mount (for example, listed in fstab(5)) or where the /boot mount
point is non-empty. Since this generator creates an automount unit, the mount will only be activated on-demand, when accessed.
systemd-efi-boot-generator implements the generator specification[1].
SEE ALSO
systemd(1), systemd.mount(5), systemd.automount(5), systemd-gpt-auto-generator(8), gummiboot(8), fstab(5)
NOTES
1. generator specification
http://www.freedesktop.org/wiki/Software/systemd/Generators
systemd 208 SYSTEMD-EFI-BOOT-GENERATOR(8)