Sponsored Content
Full Discussion: check resources
Top Forums UNIX for Dummies Questions & Answers check resources Post 27931 by handynas on Monday 9th of September 2002 11:47:18 PM
Old 09-10-2002
check resources

Hi all

I would like to check my production machine and find out which application is using up the resources of the Unix machine, is there a way to display individual applications that are running and the percentage of resources they are taking up?
 

8 More Discussions You Might Find Interesting

1. Programming

Motif resources

I am very glad to be a member of you. where can i look for the resource programe examples about motif? please help me!Thanks a lot. (3 Replies)
Discussion started by: q30
3 Replies

2. UNIX for Advanced & Expert Users

System Resources?

I am running a C program on a SCO box. There are multiple users on using the system resources. My problem is when using fprintfs in the program. I am writing to a log every thing I read in from a file after doing some formatting. I write out to the log with the fprintfs in groupings like 10... (3 Replies)
Discussion started by: jwolfe
3 Replies

3. UNIX for Dummies Questions & Answers

Who is using up all of my resources?!

For some reason, I'm having a bit of a brain fart here and cannot think of a simple solution to this problem... We have a samba server installed on one of our Darwin boxes. Someone is doing massive amounts of work through a samba share, and in turn in pegging samba and the box. I can see how... (1 Reply)
Discussion started by: fender177
1 Replies

4. Shell Programming and Scripting

Check SMB-Connections (Resources in use?)

Hi, is it possible to check smb-connections of my server? I want to see, which files are opened from which station (ip). The command who only works local (via terminal). Regards. (4 Replies)
Discussion started by: inoxx
4 Replies

5. Solaris

CPU resources

Hi, I got a solarsi 10 box with 9 zones and the cpu shares as following ID NAME SHARES 0 global 1 1 FMW1 100 2 FMW2 100 3 OID1 100 4 OID2 100 5 OVD1 100 6 OID0 100 7 FMW5 100 8... (2 Replies)
Discussion started by: fugitive
2 Replies

6. AIX

The partition keeps the resources

Hello, On a PL1650, with AIX partitions (micropartitionning). When a partition is "Not Actived", the processor and memory resources are not free (display in the HMC) and I can't by DLPAR. The partition keeps the resources. An idea ? Thanks, Trunk. (5 Replies)
Discussion started by: Trunk
5 Replies

7. Boot Loaders

Bootloader Resources

Here is a list of resources for Unix and GNU/Linux bootloaders: GRUB Legacy: The original GRand Unified Bootloader. Now known as GRUB Legacy. GRUB: The latest and greatest. More commonly known as GRUB2. BRUG: Brand-new Universal loadeR from GRUB. Based on GRUB. Adds features like new object... (0 Replies)
Discussion started by: fpmurphy
0 Replies

8. Red Hat

check system resources (VPS) to see if match what I paid?

-bash-3.2$ cat /etc/redhat-release CentOS release 5.8 (Final) Hello, Our company recently paid a hosting company (who shall remain nameless) with certain service guarantees. Is there a simple way to list the CPU speed, RAM, Disk Space etc. It is supposed to be; 25GB Disk Space, 500GB... (2 Replies)
Discussion started by: Astrocloud
2 Replies
lgrp_init(3LGRP)														  lgrp_init(3LGRP)

NAME
lgrp_init - initialize lgroup interface SYNOPSIS
cc [ flag... ] file... -llgrp [ library... ] #include <sys/lgrp_user.h> lgrp_cookie_t lgrp_init(lgrp_view_t view); The lgrp_init() function initializes the lgroup interface and takes a snapshot of the lgroup hierarchy with the given view. If the given view is LGRP_VIEW_CALLER, the snapshot contains only the resources that are available to the caller (for example, with respect to processor sets). When the view is LGRP_VIEW_OS, the snapshot contains what is available to the operating system. Given the view, lgrp_init() returns a cookie representing this snapshot of the lgroup hierarchy. This cookie should be used with other rou- tines in the lgroup interface needing the lgroup hierarchy. The lgrp_fini(3LGRP) function should be called with the cookie when it is no longer needed. The lgroup hiearchy represents the latency topology of the machine. The hierarchy is simplified to be a tree and can be used to find the nearest resources. The lgroup hiearchy consists of a root lgroup, which is the maximum bounding locality group of the system, contains all the CPU and memory resources of the machine, and may contain other locality groups that contain CPUs and memory within a smaller locality. The leaf lgroups contain resources within the smallest latency. The resources of a given lgroup come directly from the lgroup itself or from leaf lgroups contained within the lgroup. Leaf lgroups directly contain their own resources and do not encapsulate any other lgroups. The lgroup hierarchy can be used to find the nearest resources. From a given lgroup, the closest resources can be found in the lgroup itself. After that, the next nearest resources can be found in its parent lgroup, and so on until the root lgroup is reached where all the resources of the machine are located. Upon successful completion, lgrp_init() returns a cookie. Otherwise it returns LGRP_COOKIE_NONE and sets errno to indicate the error. The lgrp_init() function will fail if: EINVAL The view is not valid. ENOMEM There was not enough memory to allocate the snapshot of the lgroup hierarchy. See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+ lgrp_children(3LGRP), lgrp_cookie_stale(3LGRP), lgrp_cpus(3LGRP), lgrp_fini(3LGRP), lgrp_mem_size(3LGRP), lgrp_nlgrps(3LGRP), lgrp_par- ents(3LGRP), lgrp_resources(3LGRP), lgrp_root(3LGRP), lgrp_view(3LGRP), liblgrp(3LIB), attributes(5) 26 Jan 2005 lgrp_init(3LGRP)
All times are GMT -4. The time now is 01:18 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy