Sponsored Content
Top Forums UNIX for Dummies Questions & Answers how to find system attributes Post 302071397 by reddymails on Wednesday 19th of April 2006 07:24:24 AM
Old 04-19-2006
hi,
Try the following commands

uname
sysinfo
psrinfo
psradm
p_online
processor_info
attributes
arch........

hope it helps.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

rcp and file attributes

Good day Does anyone have an idea on how I can rcp a file together with its attributes. owner,group, permissions ? Regards J (2 Replies)
Discussion started by: jhansrod
2 Replies

2. Shell Programming and Scripting

file attributes

how do we set file attributes at shell prompt (2 Replies)
Discussion started by: hytechpro
2 Replies

3. Shell Programming and Scripting

file attributes

How to retrieve file attributes in a sh/bash script (modification time, access time, size, etc.)? (1 Reply)
Discussion started by: Hitori
1 Replies

4. UNIX for Dummies Questions & Answers

Problems with any ls attributes

I got a server (test server) that hangs anytime we run a ls attribute like ls -ltr or ls -al. We can run ls | more command with no problem. But getting back to the ls attribute problem, it just sits and hangs, I did a ps -ef | grep ls, and a user had 15 sessions of ls -al running, I killed those,... (3 Replies)
Discussion started by: Sarccastik Dude
3 Replies

5. Shell Programming and Scripting

Generate the File Attributes in the system

Hello Folks, I want to generate the file attributes of the system and needs to write into the text file. I am running the command "ls -Rl" to get the details of the files from the current directory. I am getting the output. ./linux-2.6.29.4/arch: total 10 drwxr-xr-x 9 1138 5000 ... (3 Replies)
Discussion started by: saurabhchokshi
3 Replies

6. UNIX for Advanced & Expert Users

Help with can't get execution attributes

Hi Gurus, I am trying to create a FS using SVM but system is throwing the following error. newfs /dev/md/rdsk/d1002 newfs: construct a new file system /dev/md/rdsk/d1002: (y/n)? y /usr/sbin/clri: can't get execution attributes (1 Reply)
Discussion started by: rama krishna
1 Replies

7. AIX

Identify User Attributes

SOS Guys... Is there any way to determine the user attributes, mainly if that userid is set as never expire? I do not have admin rights, and I'm working on AIX 5.3 I've tried : lsuser -f <username> but no luck on that (2 Replies)
Discussion started by: freakygs
2 Replies

8. UNIX for Dummies Questions & Answers

Delete files according to attributes

In a directory I have many *.dat *.f files and also binary files created from Fortran compilation that doesn't have a filename extension. Is it possible to delete these binary files according to its attributes? Thanks. (4 Replies)
Discussion started by: lost.identity
4 Replies

9. UNIX for Dummies Questions & Answers

How to remove attributes of a file?

Hello, I opened a file by accident (with a java program, which has been uninstalled!) and from then on, all the file with .fasta extension has been changed with an icon (So annoying!!) and the file attributes has been changed with the property: Type: application/x-wine-extension-fasta type... (6 Replies)
Discussion started by: yifangt
6 Replies

10. UNIX for Beginners Questions & Answers

File attributes ????

I'm trying to sort out the charing of a problem folder, in the 'ls -l' list is shows as: d???????????? ? ? ? ? ? Pi-Share PiShare is the name of the directory, all the ??s make no sense to me at all, and no user (there are only two, pi and root) can make any changes to it.... (4 Replies)
Discussion started by: MuntyScrunt
4 Replies
processor_info(2)                                                  System Calls                                                  processor_info(2)

NAME
processor_info - determine type and status of a processor SYNOPSIS
#include <sys/types.h> #include <sys/processor.h> int processor_info(processorid_t processorid, processor_info_t *infop); DESCRIPTION
The processor_info() function returns the status of the processor specified by processorid in the processor_info_t structure pointed to by infop. The structure processor_info_t contains the following members: int pi_state; char pi_processor_type[PI_TYPELEN]; char pi_fputypes[PI_FPUTYPE]; int pi_clock; The pi_state member is the current state of the processor, either P_ONLINE, P_OFFLINE, P_NOINTR, P_FAULTED, P_SPARE, or P_POWEROFF. The pi_processor_type member is a null-terminated ASCII string specifying the type of the processor. The pi_fputypes member is a null-terminated ASCII string containing the comma-separated types of floating-point units (FPUs) attached to the processor. This string will be empty if no FPU is attached. The pi_clock member is the processor clock frequency rounded to the nearest megahertz. It may be 0 if not known. RETURN VALUES
Upon successful completion, 0 is returned. Otherwise, -1 is returned and errno is set to indicate the error. ERRORS
The processor_info() function will fail if: EINVAL An non-existent processor ID was specified. The caller is in a non-global zone, the pools facility is active, and the processor is not a member of the zone's pool's processor set. EFAULT The processor_info_t structure pointed to by infop was not writable by the user. SEE ALSO
pooladm(1M), psradm(1M), psrinfo(1M), zoneadm(1M), p_online(2), sysconf(3C) SunOS 5.10 28 Jun 2004 processor_info(2)
All times are GMT -4. The time now is 12:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy