Sponsored Content
Operating Systems AIX How to find Primary & Secondary VIOS? Post 302796211 by -=XrAy=- on Friday 19th of April 2013 04:09:04 AM
Old 04-19-2013
ack@Michael Smilie

a nice way to check which SEA is primary or secondary:
Code:
topas -E

as root user on one of the VIO-Server

Code:
Topas Monitor for host:    xxxxxxxxx   Interval:   2   Fri Apr 19 10:02:15 2013
===============================================================================
Network                                KBPS   I-Pack   O-Pack    KB-In   KB-Out
ent15 (SEA PRIM)                     9427.7   5907.4   5166.8   4741.2   4686.5
  |\--ent12 (EC PHYS)                4733.9   3523.8   2380.2   2591.2   2142.7
  |  |\--ent0 (PRIM)                 3033.1   2077.2    305.0   1271.2   1761.9
  |   \--ent2 (PRIM)                 1691.9   1439.1   2072.8   1311.5    380.3
  |\--ent6 (VETH)                    4682.8   2376.7   2778.2   2147.7   2535.1
   \--ent9 (VETH CTRL)                  1.2      0.0      3.5      0.0      1.2
ent16 (SEA BACK)                        4.3     35.6      1.5      3.9      0.4
  |\--ent10 (VETH CTRL)                 1.2      3.5      0.0      1.2      0.0
  |\--ent13 (EC PHYS)                   4.3     35.1      1.5      3.9      0.4
  |  |\--ent1 (PRIM)                    4.2     34.2      1.5      3.8      0.4
  |   \--ent5 (BACK)                    0.1      1.0      0.0      0.1      0.0
   \--ent7 (VETH)                       0.0      0.5      0.0      0.0      0.0
ent17 (SEA BACK)                        1.0     14.9      0.0      1.0      0.0
  |\--ent11 (VETH CTRL)                 1.0      3.0      0.0      1.0      0.0
  |\--ent14 (EC PHYS)                   0.7     10.4      0.0      0.7      0.0
  |  |\--ent3 (BACK)                    0.3      5.0      0.0      0.3      0.0
  |   \--ent4 (PRIM)                    0.4      5.4      0.0      0.4      0.0
   \--ent8 (VETH)                       0.3      4.5      0.0      0.3      0.0
lo0                                     0.0      0.0      0.0      0.0      0.0

This User Gave Thanks to -=XrAy=- For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to find All Primary and Secondary Group ID's for a user

Is there any command which can list me all the Group ID's (Primary, Secondary ) assocaited with a single user. Thanks Sanjay (2 Replies)
Discussion started by: sanjay92
2 Replies

2. UNIX for Advanced & Expert Users

primary-secondary sync problem

hi guys, i am new to this DNS business and i'm having a problem. the setup is bind 9.2.3 is installed on a sun solaris 8 server and is the primary DNS. men and mice suite is installed on another sun solaris 8 and that is our secondary DNS server. problem is recently the secondary DNS stopped... (0 Replies)
Discussion started by: mbannout
0 Replies

3. Shell Programming and Scripting

Passing the values to the secondary script when it invoked by primary script

Hi, When I invoke a script s1.sh it will call an another script s2.sh by itself. This script s2.sh will call some java files, so while running the script it asks for a file name to be processed. Which we can see in the screen. The file name to be processed is present in script s1.sh Now... (1 Reply)
Discussion started by: venu_eie
1 Replies

4. UNIX for Advanced & Expert Users

Passing the values to the secondary script when it invoked by primary script

Hi, When I invoke a script s1.sh it will call an another script s2.sh by itself. This script s2.sh will call some java files, so while running the script it asks for a file name to be processed. Which we can see in the screen. The file name to be processed is present in script s1.sh Now I... (2 Replies)
Discussion started by: venu_eie
2 Replies

5. Filesystems, Disks and Memory

shift hard disk from primary IDE channel to secondary IDE channal

Wellcomes All, some times ago I 've installed a Debian ditribution on an Hard Disk who was set as Primary Master. Few days ago, I 've decided to install another Hard Disk with a different Operating System. When I did that, I turned off the old hard disk, and I mouted the new one on the Primary IDE... (1 Reply)
Discussion started by: thekarsillo
1 Replies

6. UNIX for Dummies Questions & Answers

Synchronizing primary and secondary name servers

Hello All, Does some one know how to synchronize the primary name server with the secondary without knowing the domains on which synchronization failed. I have just done /usr/sbin/ndc reload Alternatively how do i find out the domains on which synchronization failed? (4 Replies)
Discussion started by: a2z1982
4 Replies

7. Shell Programming and Scripting

List ALL users in a Unix Group (Primary and Secondary)

Is there a command or better combination of cmds that will give me the list of Unix users in a particular Unix group whether their primary group is that group in question (information stored in /etc/passwd) or they are in a secondary group (information stored in /etc/group). So far all I got... (5 Replies)
Discussion started by: ckmehta
5 Replies

8. Solaris

ifconfig primary & standby purpose

I have two ethernet interfaces nge0 and nge1. An IP assigned on nge0 is 10.10.10.1/24 and on nge1 is 20.20.20.1/24. I want to make nge0 as primary interface. My question here is, 1. Being nge0 as primary interface, if I ping to an IP 20.20.20.5, what will happen? 2. If the answer for the... (4 Replies)
Discussion started by: nthiruvenkatam
4 Replies

9. Linux

Secondary linux dist WITHIN primary one

Hi New here so forgive my ignorance and inability to express myself in an informative manner ;) I have a Fedora distribution installed on my development computer. The system we build is meant to run on a slackware dist which is all fine and well. But due to our flow of deployment I would have... (2 Replies)
Discussion started by: inquam
2 Replies

10. Solaris

DNS Primary and Secondary

hi there, i using salaris 10 as my DNS server. i have 2 dns server primary and secondary. if primary dns server i edit/update, the other secondary dns server must be sync too. How can i configure if dns server (primary) can sync the secondary? (1 Reply)
Discussion started by: tappetmus
1 Replies
cd_pvd(3)						     Library Functions Manual							 cd_pvd(3)

NAME
cd_pvd, cd_cpvd - Reads the Primary Volume Descriptor from a CD-ROM LIBRARY
Rock Ridge and X/Open Extensions to the CDFS library (libcdrom.so, libcdrom.a) SYNOPSIS
#include <sys/cdrom.h> int cd_pvd ( char *path, struct iso9660_pvd *pvd ); int cd_cpvd ( char *path, char *addr ); PARAMETERS
Points to a pathname that names a file or directory within a CD-ROM File System hierarchy, or to a block-special file for a CD-ROM File System. Points to the iso9660_pvd structure that holds the contents of the Primary Volume Descriptor from the CD-ROM. The iso9660_pvd structure is defined in cdfs/xcdr.h, an include file that is called into sys/cdrom.h Points to the address to which the Primary Volume Descriptor on the CD-ROM is copied. DESCRIPTION
The function cd_pvd fills the *pvd structure with the contents of the Primary Volume Descriptor from the CD-ROM. To execute this function successfully, the user must have read or execute permission for the file or directory pointed to by *path The function cd_cpvd copies the complete Primary Volume Descriptor that is recorded on the CD-ROM to the address pointed to by *addr. The user must allocate {CD_PVDLEN} bytes for the Primary Volume Descriptor. The variable {CD_PVDLEN} is defined in cdfs/xcdr.h, an include file that is called into sys/cdrom.h. RETURN VALUES
If successful, the value zero is returned. If unsuccessful, the integer -1 is returned and errno is set to indicate the error. ERRORS
The function will fail if: Search permission is denied for a directory in *path or read permission is denied for the file, directory, or block special file pointed to by *path. The address of *path or *pvd is invalid. A signal was caught during execution of the function. The argument *path points to a file or directory that is not within the CD-ROM file hierarchy. The named file is a block special file and the CD-ROM is not recorded according to the ISO 9660 standard. {OPEN_MAX} file descriptors are currently open in the calling process. [Tru64 UNIX] Either the OPEN_MAX value or the per-process soft descriptor limit is checked. The length of the *path string exceeds {PATH_MAX}, or a pathname component is longer than {NAME_MAX} while {_POSIX_NO_TRUNC} is in effect. The system file table is full. A component of *path does not exist, or the *path argument points to an empty string. A component of the *path prefix is not a directory. The CD-ROM is not in the drive, or a read error occurred. The named file is a block-special file and the device associated with the file does not exist. RELATED INFORMATION
Files: cdfs/xcdr.h, sys/cdrom.h. delim off cd_pvd(3)
All times are GMT -4. The time now is 06:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy