This is the script that I have written so far. It does not include any code for writing the messages to the temp file, or any code for sending the email.
From what I can determine (using uname) this is simply a Generic version of SunOS.
Hi :)
I just wanted to ask a few basic questions really. I'm telnetting to a remote host and I've finally found out that I'm using a csh shell.
My questions are:
1. Is the somename@something, the user group logged in?
2. How do I change user?
I'm really lost so I hope someone can help... (7 Replies)
Even though I have been logging in to a UNIX shell at school to complete school projects and write programs, but I had never really worked in UNIX environment. But a couple of weeks back I got hooked on to Solaris 9OE, read a book, a tutorial, a document provided on the Sun Microsystems website,... (1 Reply)
I have been an apple customer for years now, and am not satisfied with the direction that they are going. So I just ordered my first PC notebook the other day. I have no desire to use windows, however with microsoft's hold on the market, I feel that I may have a hard time doing this. I want to... (2 Replies)
Hi Unix gurus,
I know these are some easy questions.
But i just want to be sure about them.
Hope someone can help explain the following please?
1) if ]
- What does the "-r" means?
2) isql -U $DBUSER -D $DBNAME -S $DSQUERY -w 1000 -s";" << testfile > $FILE
- What does the -s";" mean and... (1 Reply)
Hello,
I want to learn LISP, and I have a GNU/Linux OS. I first sought a LISP compiler/interpreter and was told that GNU Emacs has a LISP mode. But I couldn't get into LISP mode, nor I don't know how to use it when I get into LISP mode.
How can I run LISP code under GNU Emacs?
And if... (1 Reply)
Hello everyone, I am brand spanking new to both Solaris and Unix. I thought I would give it a go after buying a SB2500 off ebay for a few hundred dollars.
I am having some issues that I am not sure how to correct, and I am wondering if I can get a few pointers?
The first one is that my system... (2 Replies)
Hi,
So I started to learn perl a few days ago, and I have some problems...
One of my problems...
#!C:\Perl64\bin\perl.exe -w
use LWP::Simple;
print "Content-Type: Text/Plain\n\n";
sub pagelinks {
return @all = get($_) =~ /href\s*=\s*"?(+)/gis;
}
@a =... (5 Replies)
I entered a command at the prompt and it's interactive (not background). It gathers some stats and writes them to a file. I want to see this job running and what it's doing - I/O especially and maybe CPU and stuff. What can do to see this (say using a second session?)
I know it's a long job but... (3 Replies)
Hi Guys, I am new in this forum and new with AIX however not new with Power System. I have worked with iSeries for many years. Now supporting AIX on Power.
Here are some basic questions I have.
1. I am using Putty to connect from my PC to the AIX boxes. Is there any other (better) program to... (6 Replies)
Discussion started by: 300zxmuro
6 Replies
LEARN ABOUT CENTOS
pmlookupindomarchive
PMLOOKUPINDOMARCHIVE(3) Library Functions Manual PMLOOKUPINDOMARCHIVE(3)NAME
pmLookupInDomArchive - translate an instance name into an instance identifier
C SYNOPSIS
#include <pcp/pmapi.h>
int pmLookupInDomArchive(pmInDom indom, const char *name);
cc ... -lpcp
DESCRIPTION
Provided the current Performance Metrics Application Programming Interface (PMAPI) context is associated with an archive log, pmLookupInDo-
mArchive will scan the union of all the instance domain metadata for the instance domain indom, locate the first instance with the external
identification given by name, and return the internal instance identifier.
This routine is a specialized version of the more general PMAPI routine pmLookupInDom.
Only the leading non-space characters of name will be used to identify the instance.
The value for the instance domain indom is typically extracted from a pmDesc structure, following a call to pmLookupDesc(3) for a particu-
lar performance metric.
pmLookupInDomArchive will return a positive instance identifier on success.
SEE ALSO PMAPI(3), pmGetConfig(3), pmGetInDomArchive(3), pmLookupDesc(3), pmLookupInDom(3), pmNameInDomArchive(3), pcp.conf(5) and pcp.env(5).
DIAGNOSTICS
PM_ERR_NOTARCHIVE
the current PMAPI context is not associated with an archive log
PM_ERR_INDOM_LOG
indom is not a defined instance domain identifier for the archive log
PM_ERR_INST_LOG
the external instance name is not known for the instance domain indom in the archive log
Performance Co-Pilot PCP PMLOOKUPINDOMARCHIVE(3)