I need your help please.
In a production system, i've seen many running process as follow:
sh -c ./pathname/shellname
what exactly the flag option -c is used for?
ive tried to look at the man page, but it doesnt say much.
ill appreciate yor help. Thanks (4 Replies)
Hello All,
I did very stupid mistake and lost all my crontab enteries on root prompt.
Please help me to solve this issue.
i did entry on root prompt like this.
crontab /home/back.cron
and enters
but when i enter crontab -l so its only showing 1 entry defined in back.cron
and all... (2 Replies)
Hi,
I would like to know if there's any option to use with the du command so that I can list only the files/directories on the current filesystem... I usually use
du -gs *But I'd like to see only the directories in the filesystem I am on, and not the mount point directory of other fss...
... (6 Replies)
#!/bin/bash
while :
do
./abc.sh PB
sleep 60
./abc.sh RA
sleep 60
./abc.sh GS
sleep 68400
done
Instead of making the script sleep for sometime, it doesn't work all the time as time may shift over a period.
How to make a script wake up every 30 seconds and check the current time, if... (2 Replies)
i am trying to patch a solaris 10 server using live upgrade.
issue is, when i create a new BE and activate it during reboot the file system that are mounted but doesnt have an entry in vfstab are automatically added in vfstab of new BE.
looks like live upgrade uses df -h output as reference... (0 Replies)
Hi,
In a file, I have to mark duplicate records as 'D' and the latest record alone as 'C'.
In the below file, I have to identify if duplicate records are there or not based on Man_ID, Man_DT, Ship_ID and I have to mark the record with latest Ship_DT as "C" and other as "D" (I have to create... (7 Replies)
Hi all,
We dont have access to aix source code and i have a doubt.
The flag SC_NO_RESERVE, is it got to do anything with the failover?
If the flag is set the paths are going to failed state. If flag is not set everything comes up fine after failover.
Thanks in advance for helping
... (2 Replies)
Hey, all!
Why is the "human readable" flag changing the behavior of du? And while I'm at it, can you make du only look at files, not directories. I often find myself wanting to find the largest file(s) in a dir or vol. Using 'find' itself, it seems you have to at least be able to guess the size of... (2 Replies)
Hello -
I have a file in the followig format
LINE TEXT 1
Line TEXT 2
TIMESTARTED=Fri Aug 16 15:20:23 EDT 2013
START-OF-DATA
123
123444
23232323
END-OF-DATA
Line TEXT 9
I need to get all the lines between the Start of Data and End of Data and pipe it to a file so output should be
... (5 Replies)
.... means multi line
ddd,bug fgdrg
dfdfsdfdfsd
fsdfdfdfd
fdfdsfdsfsd
.......
flag2
......
aaa,bug sfsfsfsfs
dfdfsdfdfsd
fsdfdfdfd
fdfdsfdsfsd
......
flag1
......
ddd,bug fgdrg
dfdfsdfdfsd (9 Replies)
Discussion started by: yanglei_fage
9 Replies
LEARN ABOUT DEBIAN
lr_check_service
LR_CHECK_SERVICE.IN(1) LogReport's Lire Documentation LR_CHECK_SERVICE.IN(1)NAME
lr_check_service - check existence of Lire service
SYNOPSIS
lr_check_service service
lr_check_service -l
DESCRIPTION
lr_check_service checks if service service is supported in Lire, i.e. if there is a DLF converter registered under that name.
When called with the -l (for `list') option, lr_check_service lists all registered DLF converters.
Like all Lire scripts, you might want to call this script via lr_run(1), to deal sanely with this scripts' debug- and logging output.
You might prefer the lr_log2report(1)--help options to list available services: this command creates a more human-friendly format of the
list.
EXAMPLE
Call this script in shell scripts as
LR_SERVICE="$1"
LR_SERVICE=`lr_check_service "$LR_SERVICE" || true`
if test -z "$LR_SERVICE"
then
echo >&2 "$tag err lr_check_service failed"
exit 1
fi
# now go using $LR_SERVICE
.
SEE ALSO Lire::PluginManager(3pm), lr_log2report(1)VERSION
$Id: lr_check_service.in,v 1.13 2006/07/23 13:16:32 vanbaal Exp $
COPYRIGHT
Copyright (C) 2002-2003 Stichting LogReport Foundation LogReport@LogReport.org
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program (see COPYING); if not, check with
http://www.gnu.org/copyleft/gpl.html.
AUTHOR
Joost van Baal <joostvb@logreport.org>
Lire 2.1.1 2006-07-23 LR_CHECK_SERVICE.IN(1)