8 More Discussions You Might Find Interesting
1. AIX
I have a AIX 7.1 system that has 3 failed disks, 1 in rootvg and 2 in vg_usr1.
Here is the output of lspv.
# lspv
hdisk0 00044d4dfbb11575 vg_usr1 active
hdisk1 0000150179158027 vg_usr1 active
hdisk2 ... (11 Replies)
Discussion started by: c3rb3rus
11 Replies
2. IP Networking
I have my Windows computer in network 192.168.1.0/24 plugged into one interface of my router.
I have another port on the router as network 192.168.168.0/24 where my nas is plugged in.
Now Windows doesn't discover my NAS automatically, of course. Anyone know what would be the most elegant way to... (2 Replies)
Discussion started by: awayand
2 Replies
3. Solaris
Hello;
experienced with HPUX/Linux, but new to Solaris, in particular my newly inherited SunOS 5.10 and is in a san environment
I have access to a 20gb lun, how do I discover it (and is a reboot required)
when discovered how do I configure it as a whole disk mount point (1 Reply)
Discussion started by: Ikenewtosolaris
1 Replies
4. Shell Programming and Scripting
I'm attempting to write a script that will look into a directory, discover all unique names, create directories for their prefix names and place the files inside. I do this now one by one with a simple script but I'd like to automate the process.
The directory would contain something like: ... (6 Replies)
Discussion started by: scribling
6 Replies
5. IP Networking
I need a script to scan the surrounding DHCP servers. I want to know how many dhcp servers are there on my connected etnernet. (2 Replies)
Discussion started by: getrue
2 Replies
6. Linux
i thought this was pretty simple question but i could not figure it out,
using command line, what is the command to print real time pps and bps on a given interface? (2 Replies)
Discussion started by: fedora
2 Replies
7. AIX
Hi,
I see from lsvg the total used PPs is 1050 (67200 megabytes), but when I check the disk space with df command I can only see 31G total space, can somebody tell how this come?
Thanks!
Victor
# lsvg
rootvg
# lsvg rootvg
VOLUME GROUP: rootvg VG IDENTIFIER: ... (2 Replies)
Discussion started by: victorcheung
2 Replies
8. Linux
Hello All,
A number of UNIX platforms currently bundle clients for the NIS, NIS+, and LDAP services.
I'd like to know how to discover what naming services are available.
E.g., results :
=============================
URL:
service:naming-directory:nis://192.168.1.100/eng.wiz.com
... (0 Replies)
Discussion started by: test111111
0 Replies
ntp_adjtime(2) System Calls ntp_adjtime(2)
NAME
ntp_adjtime - adjust local clock parameters
SYNOPSIS
#include <sys/timex.h>
int ntp_adjtime(struct timex *tptr);
DESCRIPTION
The ntp_adjtime() function adjusts the parameters used to discipline the local clock, according to the values in the struct timex pointed
to by tptr. Before returning, it fills in the structure with the most recent values kept in the kernel.
The adjustment is effected in part by speeding up or slowing down the clock, as necessary, and in part by phase-locking onto a once-per
second pulse (PPS) provided by a driver, if available.
struct timex {
uint32_t modes; /* clock mode bits (w) */
int32_t offset; /* time offset (us) (rw) */
int32_t freq; /* frequency offset (scaled ppm) (rw) */
int32_t maxerror; /* maximum error (us) (rw) */
int32_t esterror; /* estimated error (us) (rw) */
int32_t status; /* clock status bits (rw) */
int32_t constant; /* pll time constant (rw) */
int32_t precision; /* clock precision (us) (r) */
int32_t tolerance; /* clock frequency tolerance
(scaled ppm) (r) */
int32_t ppsfreq; /* pps frequency (scaled ppm) (r) */
int32_t jitter; /* pps jitter (us) (r) */
int32_t shift; /* interval duration (s) (shift) (r) */
int32_t stabil; /* pps stability (scaled ppm) (r) */
int32_t jitcnt; /* jitter limit exceeded (r) */
int32_t calcnt; /* calibration intervals (r) */
int32_t errcnt; /* calibration errors (r) */
int32_t stbcnt; /* stability limit exceeded (r) */
};
RETURN VALUES
Upon successful completion, ntp_adjtime() returns the current clock state (see <sys/timex.h>). Otherwise, it returns -1 and sets errno to
indicate the error.
ERRORS
The ntp_adjtime() function will fail if:
EFAULT The tptr argument is an invalid pointer.
EINVAL The constant member of the structure pointed to by tptr is less than 0 or greater than 30.
EPERM The {PRIV_SYS_TIME} privilege is not asserted in the effective set of the calling process.
SEE ALSO
xntpd(1M), ntp_gettime(2), privileges(5)
SunOS 5.11 1 Feb 2003 ntp_adjtime(2)