Sponsored Content
Full Discussion: System Information
Operating Systems HP-UX System Information Post 73896 by Olamide on Monday 6th of June 2005 11:01:46 AM
Old 06-06-2005
System Information

How do I get the system information on a HP UNIX server. details like CPU speed, number of processors etc.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Please help me find out system information

I'm just getting started with unix and would like to know 1) how to tell how big the harddrive is 2) how to tell if there are multiple harddrive installed on the machine 3) a relitavely easy way to tell what programs are installed on the machine. I'm using Sun OS 5.6 Thanks (3 Replies)
Discussion started by: ViperD
3 Replies

2. UNIX for Dummies Questions & Answers

AIX System information

Hi All, I am new to Unix and am working on AIX ( rs6000 ). I am looking for the system info of the unix box like 1. Number of CPUs 2. CPU speed 3. RAM size Your help is much appreciated Thanks rao. (6 Replies)
Discussion started by: rao
6 Replies

3. Shell Programming and Scripting

system general information

hi I am new to this forum. hope to get help from u all. how can i write these by using shell programming? 1. The name of the machine and the date/time at which the report was produced. 2. Licensing information such as the operating system revision level and license restrictions in terms of... (1 Reply)
Discussion started by: nokia1100
1 Replies

4. Shell Programming and Scripting

System Information Variable Help

Hey, I am after the commands to get the following information for my Unix system: default visual editor (i dont even know where to start with this one) default window manager (this one either, no idea) total quota (just the size, none of the other data. I've narrowed it down to quota -sv)... (1 Reply)
Discussion started by: bonjour
1 Replies

5. HP-UX

HP-UX system information

Hi, I'm writing a script to display a lot of information which describe a server (OS distrib, release, Hardware platform, CPU, HD, S/N...). For Linux side it is ok as you have almost all the information in /proc/cpuinfo, /proc/meminfo... and you can use dmidecode but for HP-UX I didn't find... (13 Replies)
Discussion started by: biker007fr
13 Replies

6. AIX

How to get the AIX system information?

Hi, How to get the AIX system hardware and software basic information using terminal command with guest login? Here below i have specified some of the information i need. Please have a look at this and guide me. OS Name: OS Version : OS Manufacturer: OS Configuration: ... (4 Replies)
Discussion started by: forumguest
4 Replies

7. Infrastructure Monitoring

How to get the Linux system information?

Hi, How to get the Linux system hardware and software basic information using terminal command ? Here below i have specified some of the information i need. Please have a look at this and guide me. OS Name: OS Version : OS Manufacturer: OS Configuration: OS Build Type:... (6 Replies)
Discussion started by: forumguest
6 Replies

8. Solaris

How to get the Solaris system information?

Hi, How to get the Solaris system hardware and software basic information using terminal command with guest login? Here below i have specified some of the information i need. Please have a look at this and guide me. OS Name: OS Version : OS Manufacturer: OS Configuration: ... (15 Replies)
Discussion started by: forumguest
15 Replies

9. BSD

How to get the FreeBsd system information?

Hi, How to get the FreeBsd system hardware and software basic information using terminal command with guest login? Here below i have specified some of the information i need. Please have a look at this and guide me. OS Name: OS Version : OS Manufacturer: OS... (2 Replies)
Discussion started by: forumguest
2 Replies

10. AIX

AIX System Information

Hi all, I have googled around quite a bit and tried many different commands to get system information about my AIX 5.3 box but none of the commands I've used have given me quite what I'm looking for. I am interested in finding out the model of the motherboard, and amount of available RAM, the... (2 Replies)
Discussion started by: ThePistonDoctor
2 Replies
TASKSET(1)							   User Commands							TASKSET(1)

NAME
taskset - set or retrieve a process's CPU affinity SYNOPSIS
taskset [options] mask command [argument...] taskset [options] -p [mask] pid DESCRIPTION
taskset is used to set or retrieve the CPU affinity of a running process given its pid, or to launch a new command with a given CPU affin- ity. CPU affinity is a scheduler property that "bonds" a process to a given set of CPUs on the system. The Linux scheduler will honor the given CPU affinity and the process will not run on any other CPUs. Note that the Linux scheduler also supports natural CPU affinity: the scheduler attempts to keep processes on the same CPU as long as practical for performance reasons. Therefore, forcing a specific CPU affinity is useful only in certain applications. The CPU affinity is represented as a bitmask, with the lowest order bit corresponding to the first logical CPU and the highest order bit corresponding to the last logical CPU. Not all CPUs may exist on a given system but a mask may specify more CPUs than are present. A retrieved mask will reflect only the bits that correspond to CPUs physically on the system. If an invalid mask is given (i.e., one that corresponds to no valid CPUs on the current system) an error is returned. The masks may be specified in hexadecimal (with or without a leading "0x"), or as a CPU list with the --cpu-list option. For example, 0x00000001 is processor #0, 0x00000003 is processors #0 and #1, 0xFFFFFFFF is processors #0 through #31, 32 is processors #1, #4, and #5, --cpu-list 0-2,6 is processors #0, #1, #2, and #6. When taskset returns, it is guaranteed that the given program has been scheduled to a legal CPU. OPTIONS
-a, --all-tasks Set or retrieve the CPU affinity of all the tasks (threads) for a given PID. -c, --cpu-list Interpret mask as numerical list of processors instead of a bitmask. Numbers are separated by commas and may include ranges. For example: 0,5,8-11. -p, --pid Operate on an existing PID and do not launch a new task. -V, --version Display version information and exit. -h, --help Display help text and exit. USAGE
The default behavior is to run a new command with a given affinity mask: taskset mask command [arguments] You can also retrieve the CPU affinity of an existing task: taskset -p pid Or set it: taskset -p mask pid PERMISSIONS
A user can change the CPU affinity of a process belonging to the same user. A user must possess CAP_SYS_NICE to change the CPU affinity of a process belonging to another user. A user can retrieve the affinity mask of any process. SEE ALSO
chrt(1), nice(1), renice(1), sched_getaffinity(2), sched_setaffinity(2) See sched(7) for a description of the Linux scheduling scheme. AUTHOR
Written by Robert M. Love. COPYRIGHT
Copyright (C) 2004 Robert M. Love. This is free software; see the source for copying conditions. There is NO warranty; not even for MER- CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. AVAILABILITY
The taskset command is part of the util-linux package and is available from https://www.kernel.org/pub/linux/utils/util-linux/. util-linux August 2014 TASKSET(1)
All times are GMT -4. The time now is 03:30 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy