10 More Discussions You Might Find Interesting
1. Red Hat
Team ,
I would like to handle multiple profiles(.profile/.kshrc, .profile1/.kshrc1..etc) with single user account as 'useradm' in same server.
for example :
firstly login into server with useradm account it has to load .profile/.kshrc or profile1/.kshrc1, set the environment... (7 Replies)
Discussion started by: hemanth12345
7 Replies
2. UNIX for Dummies Questions & Answers
Buddies, cron is not executing any monitoring scripts for 'Oracle' user in Red Hat Linux 5.
Details about the cron job :-
oracle@localhost ~]$ crontab -l
15 7 * * * /home/oracle/tab.sh
The tab.sh script when firing manually is working fine.
Any inputs/advice will be great for me. (12 Replies)
Discussion started by: sandip250382
12 Replies
3. Boot Loaders
Hello,
I have kubuntu on my laptop and now I decided to switch to Windows 7. I made the bios settings properly (first choice is boot from cd\vd) but I see the error
" reboot and select proper Boot device or insert Boot media in select Boot device and press a key "
I have tried CD and... (0 Replies)
Discussion started by: rpf
0 Replies
4. Shell Programming and Scripting
Hi Gurus,
I have one requirment..
I have written a script and it asks a registry passwd while performing some clearcase command. Now we are giving it manually. It's for one time run. We want to perform this for multiple times on multiple files throguh for loop.. means we need to pass the same... (3 Replies)
Discussion started by: raghu.iv85
3 Replies
5. UNIX for Dummies Questions & Answers
Hi
There are few crons running under my account. How to check the last run time of the Cron and if it has run successfully without any errors.
Also if there are any errors while running, will the errors be stored some where?
How to check the status of all the Crons?
Thanks
Ashok (3 Replies)
Discussion started by: ashok.k
3 Replies
6. Shell Programming and Scripting
It said I had to approve them through here or something because they won't work and everyone on my site Is gettin pissed off. Please help (3 Replies)
Discussion started by: hell-on-earth
3 Replies
7. UNIX for Dummies Questions & Answers
Hello,
I've built a news site using SimplePie to pull in a set of feeds and display them on a page. The caching is working but the problem is that the first initial load is slow. After that, you can hit refresh and it loads very quickly. I'd like to eliminate that first slow load by creating a... (2 Replies)
Discussion started by: eightgames
2 Replies
8. UNIX for Dummies Questions & Answers
For some reason my crons are being executed twice. Any suggestion?? I'm currently on 5.8 (2 Replies)
Discussion started by: shorty
2 Replies
9. Solaris
When I installed the SOLARIS 10 OS first time, the desktop would not start up, this was because of network setup. Reinstalled worked. After a week due to some problem I had to reinstall OS, installation went fine and but when i reboot I get this error.
cannot find mis/krtld
boot error loading... (0 Replies)
Discussion started by: johncy_j
0 Replies
10. UNIX for Advanced & Expert Users
Hey !
I am running EWS-UX/V (Rel 4.2) on NEC EWS/4800/330 station and I am having problems rebooting my station : I am getting the following message on display : BOOT : PANIC : File size out of range.
According to user guide, this error is occuring when a file exceeding the limit and/or... (2 Replies)
Discussion started by: fredo
2 Replies
heart(3erl) Erlang Module Definition heart(3erl)
NAME
heart - Heartbeat Monitoring of an Erlang Runtime System
DESCRIPTION
This modules contains the interface to the heart process. heart sends periodic heartbeats to an external port program, which is also named
heart . The purpose of the heart port program is to check that the Erlang runtime system it is supervising is still running. If the port
program has not received any heartbeats within HEART_BEAT_TIMEOUT seconds (default is 60 seconds), the system can be rebooted. Also, if the
system is equipped with a hardware watchdog timer and is running Solaris, the watchdog can be used to supervise the entire system.
An Erlang runtime system to be monitored by a heart program, should be started with the command line flag -heart (see also erl(1) . The
heart process is then started automatically:
% erl -heart ...
If the system should be rebooted because of missing heart-beats, or a terminated Erlang runtime system, the environment variable HEART_COM-
MAND has to be set before the system is started. If this variable is not set, a warning text will be printed but the system will not
reboot. However, if the hardware watchdog is used, it will trigger a reboot HEART_BEAT_BOOT_DELAY seconds later nevertheless (default is
60).
To reboot on the WINDOWS platform HEART_COMMAND can be set to heart -shutdown (included in the Erlang delivery) or of course to any other
suitable program which can activate a reboot.
The hardware watchdog will not be started under Solaris if the environment variable HW_WD_DISABLE is set.
The HEART_BEAT_TIMEOUT and HEART_BEAT_BOOT_DELAY environment variables can be used to configure the heart timeouts, they can be set in the
operating system shell before Erlang is started or be specified at the command line:
% erl -heart -env HEART_BEAT_TIMEOUT 30 ...
The value (in seconds) must be in the range 10 < X <= 65535.
It should be noted that if the system clock is adjusted with more than HEART_BEAT_TIMEOUT seconds, heart will timeout and try to reboot the
system. This can happen, for example, if the system clock is adjusted automatically by use of NTP (Network Time Protocol).
In the following descriptions, all function fails with reason badarg if heart is not started.
EXPORTS
set_cmd(Cmd) -> ok | {error, {bad_cmd, Cmd}}
Types Cmd = string()
Sets a temporary reboot command. This command is used if a HEART_COMMAND other than the one specified with the environment variable
should be used in order to reboot the system. The new Erlang runtime system will (if it misbehaves) use the environment variable
HEART_COMMAND to reboot.
Limitations: The length of the Cmd command string must be less than 2047 characters.
clear_cmd() -> ok
Clears the temporary boot command. If the system terminates, the normal HEART_COMMAND is used to reboot.
get_cmd() -> {ok, Cmd}
Types Cmd = string()
Get the temporary reboot command. If the command is cleared, the empty string will be returned.
Ericsson AB kernel 2.14.3 heart(3erl)