Is there a one line command I can issue to find all inactive kernels like I'm using but put all the kernels found on one line separated by a semi-colon (I use CSV for my output file so I don't want them separated by commas).
I'm not that good at scripting and I have to intrepret this script line by line. Can someone please assist me in completing this. Your assistance is greatly appreciated.
#!/bin/sh
# adduser - Adds a new user to the system, including building their
# home directory, copying in... (0 Replies)
Hi,
We currently use the below basic scripts to output details that the business requires for our AIX and Sun servers. I have been asked to produce the same sort of script to be used for our NCR MP-RAS UNIX and OS/2 UNIX servers but am not formilar with these forms of Unix. Would greatly... (0 Replies)
Hi,
I have a entry in the file as
::BSNL GUJARAT::India::OUT::NAT::REWEL::POSTPAID::919426199995
if u see this, i have the delimiter as :: ,
all i want is to replace "::" as ":"
so how to do that..
pls help
thanks (10 Replies)
Hello All
I have always had a question about find and replace in Vi. As this uses Vi, sed, and RegEx I never knew how or where to post the question but I thought I would give it a shot here. Say I have a text file filled with the following:
Sue, your IP address is 192.168.1.10 which is... (4 Replies)
Hi,
I'm trying to write a C program that finds idle login sessions on RHEL6 and kill the sessions which are idle(inactive) for, say, more than 15 minutes. I tried to use procfs.h is my code. But it doesn't seem to support enough API's as OS Solaris does.(Solaris supports API's that can populate... (10 Replies)
Trying to locate files less than xx days old, throughout all directories/subdirectories, but excluding certain types of directories and files.
The directories I want to search all contain the same characteristic (dbdef, pldef, ghdef, etc), and there are subdirectories within that I need to... (2 Replies)
Hello Forum,
We have two bootstraps of Chef in our environment which are identified by colour:
/var/chef/cache/cookbooks/bootstrap_cookbooks_version_green
and
/var/chef/cache/cookbooks/bootstrap_cookbooks_version_red
I'm attempting to identify which version is installed based on the name... (11 Replies)
Discussion started by: greavette
11 Replies
LEARN ABOUT DEBIAN
fstrace_lsset
FSTRACE_LSSET(8) AFS Command Reference FSTRACE_LSSET(8)NAME
fstrace_lsset - Reports the status of an event set
SYNOPSIS
fstrace lsset [-set <set name>+] [-help]
fstrace lss [-s <set name>+] [-h]
DESCRIPTION
The fstrace lsset command displays a list of the available event sets and reports their current status (active, inactive, or dormant).
To change an event set's status, use the fstrace setset command.
OPTIONS -set <set name>+
Names the event set for which to display the status. The only acceptable value is "cm", which is also the default if this argument is
omitted.
-help
Prints the online help for this command. All other valid options are ignored.
OUTPUT
The output lists the available event sets and the status of each, in the following format:
Available sets:
cm (active | inactive | dormant)
where
active
Indicates that tracing is enabled for the event set, and kernel memory allocated for the corresponding trace log.
inactive
Indicates that tracing is temporarily disabled for the event set, but kernel memory still allocated for the corresponding trace log.
dormant
Indicates that tracing is disabled for the event set, and no kernel memory allocated for the corresponding trace log.
EXAMPLES
The following example displays the available event set and its status:
# fstrace lsset
Available sets:
cm active
PRIVILEGE REQUIRED
The issuer must be logged in as the local superuser "root".
SEE ALSO fstrace(8), fstrace_setset(8)COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas
Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.
OpenAFS 2012-03-26 FSTRACE_LSSET(8)