Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pmisettimezone(3) [centos man page]

PMISETTIMEZONE(3)					     Library Functions Manual						 PMISETTIMEZONE(3)

NAME
pmiSetTimezone - set the source timezone for a LOGIMPORT archive C SYNOPSIS
#include <pcp/pmapi.h> #include <pcp/impl.h> #include <pcp/import.h> int pmiSetTimezone(const char *value); cc ... -lpcp_import -lpcp Perl SYNOPSIS use PCP::LogImport; pmiSetTimezone($value); DESCRIPTION
As part of the Performance Co-Pilot Log Import API (see LOGIMPORT(3)), pmiSetTimezone sets the source timezone in the current context to be value. In the absence of a call to pmiSetTimezone the source timezone defaults to the timezone of the localhost. DIAGNOSTICS
pmiSetTimezone returns zero on success else a negative value that can be turned into an error message by calling pmiErrStr(3). SEE ALSO
LOGIMPORT(3), pmiErrStr(3), pmiSetHostname(3) and pmiStart(3). Performance Co-Pilot PMISETTIMEZONE(3)

Check Out this Related Man Page

PMISETHOSTNAME(3)					     Library Functions Manual						 PMISETHOSTNAME(3)

NAME
pmiSetHostname - set the source host name for a LOGIMPORT archive C SYNOPSIS
#include <pcp/pmapi.h> #include <pcp/impl.h> #include <pcp/import.h> int pmiSetHostname(const char *value); cc ... -lpcp_import -lpcp Perl SYNOPSIS use PCP::LogImport; pmiSetHostname($value); DESCRIPTION
As part of the Performance Co-Pilot Log Import API (see LOGIMPORT(3)), pmiSetHostname sets the source hostname in the current context to be value. In the absence of a call to pmiSetHostname the source hostname defaults to the hostname of the localhost. DIAGNOSTICS
pmiSetHostname returns zero on success else a negative value that can be turned into an error message by calling pmiErrStr(3). SEE ALSO
LOGIMPORT(3), pmiErrStr(3), pmiSetTimezone(3) and pmiStart(3). Performance Co-Pilot PMISETHOSTNAME(3)
Man Page

4 More Discussions You Might Find Interesting

1. Programming

Finding timezone information

how to extract current/existing timezone information ?? (2 Replies)
Discussion started by: kartik.patel
2 Replies

2. Shell Programming and Scripting

Timezone not changed.

Hi All, While installing Red Hat Linux, I tried changing the timezone to Japan for testing.But the timezone was not set to Japan. I tried other timezones , but they didn't work as well. I am guessing the problem might be due to some missing rpm.Does anyone has any idea or faced a similar... (1 Reply)
Discussion started by: nua7
1 Replies

3. Shell Programming and Scripting

convert timezone into human output

Hi I have a command which returns a timezone, Ej: root@bsades2: /usr/local/bin # lsuser -a time_last_login israel israel time_last_login=1279032223 Question: I want to parse this timezone '1279032223' into a 'martes, 13 de julio de 2010 16:43:43' from the ksh shell. Is itt possible? ... (3 Replies)
Discussion started by: iga3725
3 Replies

4. UNIX for Advanced & Expert Users

Performance problem with bidirectional nc

Working on a simple, half duplex network diagnostic that will run anywhere using nc and dd. Performance is symmetrical with sink and source nc processes open as a server: nc -vkl 5000 > /dev/null & cat /dev/zero | nc -vkl 5001 & With this on the client: nc host0 5001 | dd of=/dev/null... (0 Replies)
Discussion started by: netdrx
0 Replies

Featured Tech Videos