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 everyone,
I would like to filter and search for files in my curr dir where the blocks used by those files are over a certain number (i.e. 30), when I try this command
find . -name "c*" -size +30 -exec ls -ls {} \;
I get a list of files, the first column is the block size, right?
... (1 Reply)
I want to incorportae a subscript in a job script which is used for loading purposes.
What i require is that before a job runs it should check for a flag ,if flag is not present then create it and the loading should start.
Once loading finishes it should delete the flag.
So if any other load... (1 Reply)
I want to incorportae a subscript in a job script which is used for loading purposes.
What i require is that before a job runs it should check for a flag ,if flag is not present then create it and the loading should start.
Once loading finishes it should delete the flag.
So if any other load... (2 Replies)
I have been compiling a cpp program using following command:
g++ -c -ansi a.cpp with g++ version 4.1.2. I want to know the significance of the -ansi flag and which other higher g++ version supports this flag by default
Dhiraj (1 Reply)
Hi,
I am first sorry to ask for that, but I am in trouble so I hope you will be agreed to help me on this.
I am solaris (ksh).
I have a lots of file but I only need to get the date and time of the flag files.
Here is the "ls -lrt" view :
ls -lrt | grep Flag_Saturne_R*Return
... (3 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)
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)
.... 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 FREEBSD
pmc_name_of_disposition
PMC_NAME_OF_CAPABILITY(3) BSD Library Functions Manual PMC_NAME_OF_CAPABILITY(3)NAME
pmc_name_of_capability, pmc_name_of_class, pmc_name_of_cputype, pmc_name_of_disposition, pmc_name_of_event, pmc_name_of_mode,
pmc_name_of_state -- human readable names for numeric constants used by pmc(3) and hwpmc(4)LIBRARY
Performance Counters Library (libpmc, -lpmc)
SYNOPSIS
#include <pmc.h>
const char *
pmc_name_of_capability(enum pmc_caps pc);
const char *
pmc_name_of_class(enum pmc_class pc);
const char *
pmc_name_of_cputype(enum pmc_cputype ct);
const char *
pmc_name_of_disposition(enum pmc_disp pd);
const char *
pmc_name_of_event(enum pmc_event pe);
const char *
pmc_name_of_mode(enum pmc_mode pm);
const char *
pmc_name_of_state(enum pmc_state ps);
DESCRIPTION
These convenience functions translate numeric constants used by the Performance Counters Library (libpmc, -lpmc) to const char * pointers to
human readable representations of their arguments.
Function pmc_name_of_capability() translates a PMC capability flag given in argument pc to a human readable string. PMC capabilities are
described in pmc(3).
Function pmc_name_of_class() translates the PMC class value specified in argument pc to a human readable name. PMC classes are described in
pmc(3).
Function pmc_name_of_cputype() translates the CPU type value specified in argument ct to a human readable name. CPU types known to the
library are described in pmc(3).
Function pmc_name_of_disposition() translates the PMC row disposition specified in argument pd to a human readable name. PMC row disposi-
tions are described in hwpmc(4).
Function pmc_name_of_event() translates the PMC event number specified by argument pe to a string. PMC event names are documented in section
EVENT SPECIFIERS of pmc(3).
Function pmc_name_of_mode() translates the PMC mode specified by argument pm to a human readable string. PMC modes are described in pmc(3).
Function pmc_name_of_state() translates the value of argument ps to a human readable name.
IMPLEMENTATION NOTES
The returned pointers point to static storage inside the PMC library and should not be freed by the caller.
RETURN VALUES
These functions return a non-NULL pointer on successful completion. In case of an error, a NULL pointer is returned and the global variable
errno is set to indicate the error.
ERRORS
A call to these functions may fail with the following errors:
[EINVAL] The function argument specified an invalid value.
SEE ALSO pmc(3), pmc_cpuinfo(3), pmc_pmcinfo(3), hwpmc(4)BSD November 24, 2007 BSD