Hi,
I need some help in removing the header (first line) and the trailer (last line) in a give file...
The data file actually comes in EBCDIC format and I converted it into ASCII..
Now I need to strip off the first line and the last line..
I think we can use sed to do something like this:... (2 Replies)
Aloha! I have just over 1k of users that have permissions that they shouldn't under our system. I need to parse a provided list of usernames, check their permissions file, and strip the permissions that they are not allowed to have. If upon the permissions strip they are left with no permissions,... (6 Replies)
Hi Folks,
I am new to ksh, i have informatica parameter file that i need to update everyday with shell script. i need your help updating this file with new parameters.
sample data
$$TABLE1_DATE=04-27-2011
$$TABLE2_DATE=04-23-2011
$$TABLE3_DATE=03-19-2011
.......Highligned... (4 Replies)
Hi! I have been struggling with a large file that has stray end of line characters.
I am working on a Mac (Lion). I mention this only because I have been mucking around with fixing my problem using sed, and I have learned far more than I wanted to know about Unix and Mac eol characters.
I... (1 Reply)
I have a test file with the following format, It contains the username_date when the user was locked from the database.
$ cat lockedusers.txt
TEST1_21062016
TEST2_02122015
TEST3_01032016
TEST4_01042016
I'm writing a ksh script and faced with this difficult scenario for my... (11 Replies)
Hi,
i have a file with multiple entries. After some tests with sed i managed to get the file output as follows:
lsn=X-LINK-IN0,apc=661:0,state=avail,avail/links=1/1,
00,2110597,2094790,0,81,529,75649011,56435363,
lsn=TM1ITP1-AM1ITP1-LS,apc=500:0,state=avail,avail/links=1/1,... (5 Replies)
Hello, i am trying to print group name column(etc/group) on script (etc/passwd) since group name is not listed on etc/passwd columns. Im trying to do a vlookup. but i cant figure out how i can insert the vlookup command FNR==NR inside the print out command or the output. I also tried exporting... (2 Replies)
Discussion started by: joonisio
2 Replies
LEARN ABOUT CENTOS
pmdanamed
PMDANAMED(1) Performance Co-Pilot PMDANAMED(1)NAME
pmdanamed - BIND (named) PMDA
DESCRIPTION
pmdanamed is a Performance Metrics Domain Agent (PMDA) which exports metric values from the BIND DNS server. Further details on BIND can
be found at http://isc.org/.
INSTALLATION
If you want access to the names and values for the named performance metrics, do the following as root:
# cd $PCP_PMDAS_DIR/named
# ./Install
If you want to undo the installation, do the following as root:
# cd $PCP_PMDAS_DIR/named
# ./Remove
pmdanamed is launched by pmcd(1) and should never be executed directly. The Install and Remove scripts notify pmcd(1) when the agent is
installed or removed.
FILES
/var/named/data/named_stats.txt
statistics file showing values exported from named
/var/named/chroot/var/named/data/named_stats.txt
chroot variant of statistics file showing values exported from named
$PCP_PMDAS_DIR/named/Install
installation script for the pmdanamed agent
$PCP_PMDAS_DIR/named/Remove
undo installation script for the pmdanamed agent
$PCP_LOG_DIR/pmcd/named.log
default log file for error messages from pmdanamed
SEE ALSO pmcd(1), named.conf(5), named(8).
3.8.10 Performance Co-Pilot PMDANAMED(1)