10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
without using conventional file searching commands like find etc, is it possible to locate a file if i just know that the file that i'm searching for contains a particular text like "Hello world" or something? (5 Replies)
Discussion started by: arindamlive
5 Replies
2. Shell Programming and Scripting
Hi I am kind of stuck
I need help with printing only the names of the folder in the format
LAST NAME, F
so last name and the first character of first name
using ls -l command in the /home directory
currently they are in the format firstname.lastname
please advice (4 Replies)
Discussion started by: classic
4 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I have to append "abc$abc" to the existing data in solaris.When i run my unix script it is writing only "abc" instead of "abc$abc"
Please let me know if we can write $ to the data.Please advice! (2 Replies)
Discussion started by: ammu
2 Replies
4. Shell Programming and Scripting
Hello all,
Code below:
echo "Oracle Filesystems"
echo "------------------"
echo
for j in `df -l -k |grep total|grep ora|grep -v storage|grep -v vg00|awk '{print $1}'`
do
echo $j is `df -l -k $j |grep total|grep ora|grep -v storage|grep -v vg00|awk -F":" '{print $2}'|awk '{print $1}'` KB... (6 Replies)
Discussion started by: LinuxRacr
6 Replies
5. UNIX for Dummies Questions & Answers
how can i list the users( and only those users) who logged in more than once? thanks in advance... (1 Reply)
Discussion started by: needyourhelp
1 Replies
6. UNIX for Dummies Questions & Answers
Hi guys,
i need to search the most commonly occuring words in a file and display their counts of about 30000 words and the words shud not be of typ specified in file 2 e. words like is,for,the,an,he,she etc...
k.
file1:
ALICE was beginning to get very tired of sitting by... (2 Replies)
Discussion started by: arunsubbhian
2 Replies
7. Shell Programming and Scripting
I am beginner to UNIX.
I wanted to display 5 filesname with size from BIN directory. The order of display should be descending order in size.
Can help me. (1 Reply)
Discussion started by: giridher2000
1 Replies
8. UNIX for Dummies Questions & Answers
hi,
how can display year parameter also while listing files from a directory?it displyas only if last acces sis more than 1 yr i guess.can it be dispalyed using some option or some method?
thanks and regards
vivek.s (2 Replies)
Discussion started by: vivekshankar
2 Replies
9. SCO
Hi guys,
I have changed some path in the vi .profile and then i shutdown the system and when i reboot it i was unable to use
vi.
It is showing vi not found.Likewise for few other commands also.
How to solve this problem and make vi work again.
Plz. do provide the answer it is... (3 Replies)
Discussion started by: ananthu_m
3 Replies
10. UNIX for Dummies Questions & Answers
I would like to see what a command is doing. For example, say I move 10 files using mv * somedir. Can I use some other command to see a verification of each files movement. Like:
file1 moved to somedir
file2 moved to somedir
...
but, i'd to have this capability for all commands. it seems... (1 Reply)
Discussion started by: quantumechanix
1 Replies
WDMD(8) System Manager's Manual WDMD(8)
NAME
wdmd - watchdog multiplexing daemon
SYNOPSIS
wdmd [OPTIONS]
DESCRIPTION
This daemon opens /dev/watchdog and allows multiple independent sources to detmermine whether each KEEPALIVE is done. Every test interval
(10 seconds), the daemon tests each source. If any test fails, the KEEPALIVE is not done. In a standard configuration, the watchdog timer
will reset the system if no KEEPALIVE is done for 60 seconds ("fire timeout"). This means that if single test fails 5-6 times in row, the
watchdog will fire and reset the system. With multiple test sources, fewer separate failures back to back can also cause a reset, e.g.
T seconds, P pass, F fail
T00: test1 P, test2 P, test3 P: KEEPALIVE done
T10: test1 F, test2 F, test3 P: KEEPALIVE skipped
T20: test1 F, test2 P, test3 P: KEEPALIVE skipped
T30: test1 P, test2 F, test3 P: KEEPALIVE skipped
T40: test1 P, test2 P, test3 F: KEEPALIVE skipped
T50: test1 F, test2 F, test3 P: KEEPALIVE skipped
T60: test1 P, test2 F, test3 P: KEEPALIVE skipped
T60: watchdog fires, system resets
(Depending on timings, the system may be reset sometime shortly before T60, and the tests at T60 would not be run.)
A crucial aspect to the design and function of wdmd is that if any single source does not pass tests for the fire timeout, the watchdog is
guaranteed to fire, regardless of whether other sources on the system have passed or failed. A spurious reset due to the combined effects
of multiple failing tests as shown above, is an accepted side effect.
wdmd will exit if a watchdog driver is not loaded.
wdmd cannot be used on the system with any other program that needs to open /dev/watchdog, e.g. watchdog(8).
Test Source: clients
Using libwdmd, programs connect to wdmd via a unix socket, and send regular messages to wdmd to update an expiry time for their connection.
Every test interval, wdmd will check if the expiry time for a connection has been reached. If so, the test for that client fails.
(Other test sources such as scripts executed each test interval may be added in the future.)
OPTIONS
-D Enable debugging to stderr and don't fork.
-H num Enable (1) or disable (0) high priority features such as realtime scheduling priority and mlockall.
Default 1.
2011-08-01 WDMD(8)