9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
2. UNIX for Dummies Questions & Answers
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies
3. Shell Programming and Scripting
Hi All,
I have to work in the late nights some times for server maintenance and in a hurry to complete I am accidentally changing ownership or permission of directories :(
which have similar names ( /var in root and var of some other directory ).:confused:
Can some one suggest me with the... (1 Reply)
Discussion started by: shiek.kaleem
1 Replies
4. Emergency UNIX and Linux Support
Hi.
I've had a little mishap.
To cut a long story short, I've accidentally recursively ran chown on a directory (actually a bunch of 'em). Not a problem in itself, but I had a slight error in the code I used to get the list of directories and ended up with a comment in the file ownership.
... (15 Replies)
Discussion started by: Scott
15 Replies
5. UNIX for Dummies Questions & Answers
I want to be able to take a file name and then use sedto paste that text into the file.
I believe I know how to do the latter portion of pasting into the file at the location I want, but I do not know how to "copy" the file name to the "clipboard" for pasting.
Ideally I want to be able to... (1 Reply)
Discussion started by: TitanTlaloc
1 Replies
6. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
7. SuSE
keep getting an error when I try to revert to a snapshot:
"VMDB Failure" followed by "Unable to open snapshot file"
Im using vmware server 1.0.4, host OS is windows xp and guest OS is SLES.
Is there anything I can do to recover the snapshot or am I in trouble!?!?! (0 Replies)
Discussion started by: s_linux
0 Replies
8. UNIX for Dummies Questions & Answers
Hi Friends,
Can any of you explain me about the below line of code?
mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`
Im not able to understand, what exactly it is doing :confused:
Any help would be useful for me.
Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies
9. Shell Programming and Scripting
first i have pre-define some variable, then input those into a for statement for some process, finally, i want to get a new value out of it.
A=192.168.16.1
B=192.168.32.1
C=192.168.64.1
for i in A B C
do
echo $i | nawk -F. '{ if ($3 > 16 and < 32) ....something like that, then ( $i=... (7 Replies)
Discussion started by: 3Gmobile
7 Replies
HOBBITLAUNCH(8) System Manager's Manual HOBBITLAUNCH(8)
NAME
hobbitlaunch - Master program to launch other Xymon programs
SYNOPSIS
hobbitlaunch [options]
DESCRIPTION
hobbitlaunch(8) is the main program that controls the execution and scheduling of all of the components in the Xymon system.
hobbitlaunch allows the administrator to add, remove or change the set of Xymon applications and extensions without restarting Xymon - hob-
bitlaunch will automatically notice any changes in the set of tasks, and change the scheduling of activities accordingly.
hobbitlaunch also allows the administrator to setup specific logfiles for each component of the Xymon system, instead of getting output
from all components logged to a single file.
OPTIONS
--env=FILENAME
Loads the environment from FILENAME before starting other tools. The environment defined by FILENAME is the default, it can be
overridden by the ENVFILE option in hobbitlaunch.cfg(5)
--config=FILENAME
This option defines the file that hobbitlaunch scans for tasks it must launch. A description of this file is in hobbitlaunch.cfg(5)
The default tasklist is /etc/hobbitlaunch.cfg
--log=FILENAME
Defines the logfile where hobbitlaunch logs information about failures to launch tasks and other data about the operation of hobbit-
launch. Logs from individual tasks are defined in the hobbitlaunch.cfg file. By default this is logged to stdout.
--pidfile=FILENAME
Filename which hobbitlaunch saves its own process-ID to. Commonly used by automated start/stop scripts.
--verbose
Logs the launch of all tasks to the logfile. Note that the logfile may become quite large if you enable this.
--dump Just dump the contents of the hobbitlaunch.cfg file after parsing it. Used for debugging.
--debug
Enable debugging output while running.
--no-daemon
hobbitlaunch normally detaches from the controlling tty and runs as a background task. This option keeps it running in the fore-
ground.
STARTING TASKS
hobbitlaunch will read the configuration file and start all of the tasks listed there.
If a task completes abnormally (i.e. terminated by a signal or with a non-zero exit status), then hobbitlaunch will attempt to restart it 5
times. If it still will not run, then the task is disabled for 10 minutes. This will be logged to the hobbitlaunch logfile.
If the configuration file changes, hobbitlaunch will re-read it and notice any changes. If a running task was removed from the configura-
tion, then the task is stopped. If a new task was added, it will be started. If the command used for a task changed, or it was given a new
environment definition file, or the logfile was changed, then the task is stopped and restarted with the new definition.
SEE ALSO
hobbitlaunch.cfg(5), xymon(7)
Xymon Version 4.2.3: 4 Feb 2009 HOBBITLAUNCH(8)