I have created an executable using my login session in an AIX Version 5 Unix system. After to which I have change the file mode to set uid and rwsrwx--x and ownership to root:system by using the following Standard C Library functions.
chmod (name, S_ISUID|S_IRWXU|S_IRWXG|S_IXOTH|S_IROTH)
chown... (6 Replies)
Hi
I need to get the last generated file in a directory using ls -ltr. I need to store the output of ls -ltr in a variable.
it will like this
$xyz = -rw-rw-r-- 1 sblp003 siebel 1060 Dec 18 13:33
from this output, I need to do a substring to get this value alone "Dec 18... (8 Replies)
Some strange behavior.
Process is receiving Segmentation Fault. But no core files getting generated.
I have checked ulimit.
coredumpsize = unlimited.
In console, process is printing Segmentation Fault even through gdb also same behavior But No corefile.
Any possible reason ?
... (3 Replies)
Hi guys,
I have multiple files (>5000) which I have in a folder. I read every file name and put it in a tmp variable "i" so that i can use it in the following task.
I have a large .txt file (>50 MB) in which I want to find the variable "i" and the lines after this variable, so that I can use... (4 Replies)
Hi Dears,
I use the below code to analyze lines in a file:
for line in `cat ucsv`
do
echo $line
//analyze statements
donehowever, if line contains space char, it will be broken. for example, if file content is:
#login,full name,email,project,role,action
gmwen,Bruce... (3 Replies)
Hi,
May I know what is sosreport and how to get that report from HP-UX?
Regards,
Maddy (2 Replies)
Discussion started by: Maddy123
2 Replies
LEARN ABOUT CENTOS
sosreport
SOSREPORT(1) General Commands Manual SOSREPORT(1)NAME
sosreport - Collect and package diagnostic and support data
SYNOPSIS
sosreport
[-l|--list-plugins]
[-n|--skip-plugins plugin-names]
[-e|--enable-plugins plugin-names]
[-o|--only-plugins plugin-names]
[-a|--alloptions] [-v|--verbose]
[--report] [--config-file conf] [--batch]
[--build] [--name name] [--ticket-number number]
[--debug] [--tmp-dir directory]
[--profile] [--help]
DESCRIPTION
sosreport generates a compressed tar archive of diagnostic information from the running system. The archive may be stored locally or cen-
trally for recording or tracking purposes or may be sent to technical support representatives, developers or system administrators to
assist with technical fault-finding and debugging.
Sos is modular in design and is able to collect data from a wide range of subsystems and packages that may be installed. An XML or HTML
report summarizing the collected information is optionally generated and stored within the archive.
OPTIONS -l, --list-plugins
List all available plugins and their options. Plug-ins that would not be enabled by the current configuration are listed separately.
-n, --skip-plugins PLUGNAME[,PLUGNAME]
Disable the specified plugin(s). Multiple plug-ins may be specified by repeating the option or as a comma-separated list.
-e, --enable-plugins PLUGNAME[,PLUGNAME]
Enable the specified plugin(s). Multiple plug-ins may be specified by repeating the option or as a comma-separated list.
-o, --only-plugins PLUGNAME[,PLUGNAME]
Enable the specified plugin(s) only (all other plugins should be disabled). Multiple plugins may be specified by repeating the
option or as a comma-separated list.
-k PLUGNAME.PLUGOPT[=VALUE]
Specify plug-in options. The option PLUGOPT is enabled, or set to the specified value in the plug-in PLUGNAME.
-a, --alloptions
Set all boolean options to True for all enabled plug-ins.
-v, --verbose
Increase logging verbosity. May be specified multiple times to enable additional debugging messages.
-q, --quiet
Only log fatal errors to stderr.
--report
Enable HTML/XML report writing.
--config-file CONFIG
Specify alternate configuration file.
--tmp-dir DIRECTORY
Specify alternate temporary directory to copy data as well as the compressed report.
--batch
Generate archive without prompting for interactive input.
--name NAME
Specify a name to be used for the archive.
--ticket-number NUMBER
Specify a ticket number to be used for archive
--build
Do not archive copied data. Causes sosreport to leave an uncompressed archive as a temporary file or directory tree.
--debug
Enable interactive debugging using the python debugger. Exceptions in sos or plug-in code will cause a trap to the pdb shell.
--profile
Enable profiler logging.
--help Display usage message.
MAINTAINER
Bryn M. Reeves <bmr@redhat.com>
AUTHORS & CONTRIBUTORS
See AUTHORS file in /usr/share/doc/sosreport.
TRANSLATIONS
Translations are handled by transifex (https://fedorahosted.org/transifex/)
Mon Mar 25 2013 SOSREPORT(1)