Sponsored Content
Operating Systems AIX Display parent of certain device ? Post 302270901 by vilius on Tuesday 23rd of December 2008 07:39:13 AM
Old 12-23-2008
Display parent of certain device ?

Hi,

For example I can display clildren devices of "device_name" device by issuing:
lsdev -p device_name

How do I display parent device given certain child device ?

thanks
Vilius
 

5 More Discussions You Might Find Interesting

1. Programming

display in a child process a command called in the parent one

Hi , Could you tell me if I am right 1. Using fork(), pipe(), execlp() and dup() (see man 2 dup), write a C program executing the command ps -j in a parent process, displaying the result in a child process. #include <unistd.h> #include <errno.h> #include <stdio.h> #include <unistd.h>... (7 Replies)
Discussion started by: remid1985
7 Replies

2. Shell Programming and Scripting

full path of a file situated either in parent's dir. or parent's parent dir. so on...

hi experts(novice people can stay away as it is no child's game), i am developing a script which works like recycle bin of windows. the problem i am facing is that when ever i am trying to delete a file which is situated in parent directory or parent's parent directory i am unable to... (1 Reply)
Discussion started by: yahoo!
1 Replies

3. AIX

How to find all device on p570 when need do device firmware upgrade?

I need upgrade firmware for the device of p570, when I go to IBM FIX download website, there are a lot of device of p570 listed. How can I know what device I have on my p570? (4 Replies)
Discussion started by: rainbow_bean
4 Replies

4. Red Hat

Unable To Activate Ethernet Network Device in RHEL 5.5 - e100 device eth0 does not seem to be presen

Hi All, Could anyone please help to resolve the below problem. I installed RHEL5.5 in my desktop.But when i try to activate the ethernet connection then it gives me the error. I spent 2 days for the above and go through with several suggestion found by googling. But no luck. ... (0 Replies)
Discussion started by: Tanmoy
0 Replies

5. HP-UX

Failed to open tape device /dev/rmt/0mn:Device busy (errno = 16)

Hi, Unable to make tape backup, please help. /opt/ignite/bin/make_tape_recovery -a /dev/rmt/?mn -I -v -m tar -x inc_entire=vg00 * Creating local directories for configuration files and archive. ======= 04/25/16 16:28:08 IST Started /opt/ignite/bin/make_tape_recovery. (Mon... (4 Replies)
Discussion started by: anuragr
4 Replies
OpenGL display specific functions(3)			     Hardware Locality (hwloc)			      OpenGL display specific functions(3)

NAME
OpenGL display specific functions - Functions static inline hwloc_obj_t hwloc_gl_get_display_osdev_by_port_device (hwloc_topology_t topology, unsigned port, unsigned device) static inline hwloc_obj_t hwloc_gl_get_display_osdev_by_name (hwloc_topology_t topology, const char *name) static inline int hwloc_gl_get_display_by_osdev (hwloc_topology_t topology , hwloc_obj_t osdev, unsigned *port, unsigned *device) Detailed Description Function Documentation static inline int hwloc_gl_get_display_by_osdev (hwloc_topology_t topology, hwloc_obj_tosdev, unsigned *port, unsigned *device) [static] Get the OpenGL display port and device corresponding to the given hwloc OS object. Return the OpenGL display port (server) in port and device (screen) in screen that correspond to the given hwloc OS device object. Return -1 if there is none. The topology topology does not necessarily have to match the current machine. For instance the topology may be an XML import of a remote host. I/O devices detection and the GL component must be enabled in the topology. static inline hwloc_obj_t hwloc_gl_get_display_osdev_by_name (hwloc_topology_ttopology, const char *name) [static] Get the hwloc OS device object corresponding to the OpenGL display given by name. Return the OS device object describing the OpenGL display whose name is name, built as ':port.device' such as ':0.0' . Return NULL if there is none. The topology topology does not necessarily have to match the current machine. For instance the topology may be an XML import of a remote host. I/O devices detection and the GL component must be enabled in the topology. Note: The corresponding PCI device object can be obtained by looking at the OS device parent object. static inline hwloc_obj_t hwloc_gl_get_display_osdev_by_port_device (hwloc_topology_ttopology, unsignedport, unsigneddevice) [static] Get the hwloc OS device object corresponding to the OpenGL display given by port and device index. Return the OS device object describing the OpenGL display whose port (server) is port and device (screen) is device. Return NULL if there is none. The topology topology does not necessarily have to match the current machine. For instance the topology may be an XML import of a remote host. I/O devices detection and the GL component must be enabled in the topology. Note: The corresponding PCI device object can be obtained by looking at the OS device parent object. Author Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code. Version 1.7 Sun Apr 7 2013 OpenGL display specific functions(3)
All times are GMT -4. The time now is 05:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy