04-13-2006
try if it works.. not sure of FreeBSD
/usr/platform/$ ( uname -i ) /sbin/prtdiag -v
or /usr/platform/`uname -i`/sbin/prtdiag -v
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
A customer gives me the following hardware specs
for a HP-UX server:
Model: 9000/839/K210
CPU Speed: 120 MHz
Physical Memory: 512 Mb.
Number of processors: 2
Can someone give me their comments on this server?
If you would translate this to an Intel machine what is the approx.... (2 Replies)
Discussion started by: murmur
2 Replies
2. SCO
View Hardware Configuration is not an accessible option on the drop down list on the Open Server SCO Relase 5.05
Why would this be and how can I work around to get into it?
Any suggestions would be appreciated!
Thanks (4 Replies)
Discussion started by: trinitygirl71
4 Replies
3. UNIX for Advanced & Expert Users
Hello everybody,
I have a program that connects to a distant machine using a specific port. Then inetd executes a command on that distant machine (M2).
What I'd like to do is write a scipt that, given the port, it gives me the command executed. (The script should be launched on the local... (5 Replies)
Discussion started by: Majid
5 Replies
4. UNIX for Dummies Questions & Answers
Hi,
Im newbie here and in unix as well. How can i view users in unix? Im viewed them in shadow file (i typed: vi /etc/shadow) but some unix (im confused if its unix or linux or bsd, but i think it has a little thing in common or differnce) has no shadow file?! What must i do to view the users... (6 Replies)
Discussion started by: jerome
6 Replies
5. UNIX for Advanced & Expert Users
Hi, is there anyway i can view a remote linux desktop on my windows desktop?
i am aware that X11 can see 'certain screens'. For eg if i type 'xclock &' and i have a client running on my windows, i can see the clock.
If i am interested to see the entire desktop of my linux, how can i do it? (4 Replies)
Discussion started by: new2ss
4 Replies
6. Shell Programming and Scripting
Hi All..
Am new to Unix!!
Am creating a shell script in which a scenario is like i have transfer the output file from unix machine (Server) to local directory (Windows xp).
And also i have to transfer the input file from the local directory to Unix machine (Server)
Any help from you... (1 Reply)
Discussion started by: vidhyaS
1 Replies
7. Red Hat
Hi,
I am just confused about these three things which are shown in the output of uname command. I am running RH lINUX 9.0 on hardware having Intel HT CPU. My uname shows
uname -p i686 (processor)
uname -m i686 (machine)
uname -i i386 (hardware)
I was about to ... (1 Reply)
Discussion started by: dextergenious
1 Replies
8. SCO
Good afternoon all,
I'm a bit stuck... I honestly don't know very much about Unix let alone UnixWare for that matter. I have a system that's very old and could fail really at any time. I have another server I'd like to move everything to yet I don't know what's possible. The current server is... (2 Replies)
Discussion started by: rubiks015
2 Replies
LEARN ABOUT OPENSOLARIS
hal-set-property
hal-get-property(1M) System Administration Commands hal-get-property(1M)
NAME
hal-get-property, hal-set-property - get and set HAL device properties
SYNOPSIS
hal-get-property --udi udi --key key [--help] [--verbose]
[--version]
hal-set-property --udi udi --key key {--int value | --uint64 value
| --string value | --bool value | --strlist-pre value
| --strlist-post value | --strlist-rem value | --double value
| --remove value} [--help] [--version]
DESCRIPTION
The Hardware Abstraction Layer (HAL) provides a view of the various hardware attached to a system. This view is updated dynamically as
hardware configuration changes by means of hotplug or other mechanisms. HAL represents a piece of hardware as a device object. A device
object is identified by a unique identifer and carries a set of key/value pairs, referred to as device properties. Some properties are
derived from the actual hardware, some are merged from device information files (.fdi files), and some are related to the actual device
configuration.
The hal-get-property and hal-set-property commands allow you to get and set properties of hardware that conforms to HAL specifications.
OPTIONS
The following options are supported:
--udi udi
Unique device ID.
--key key
Key of the property to set.
--int
Set value to an integer. Accepts decimal or hexadecimal value prefixed with 0x or x.
--uint64
Set value to an integer. Accepts decimal or hexadecimal value prefixed with 0x or x.
--string value
Set value to a string.
--double value
Set value to a floating point number.
--boolean value
Set value to a boolean, that is, true or false
--strlist-pre value
Prepend a string to a list.
--strlist-post value
Append a string to a list.
--strlist-rem value
Remove a string from a list.
--remove value
Indicates that the property should be removed.
--version
Display version and exit.
--help
Display list of options and exit
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWhalr |
+-----------------------------+-----------------------------+
|Interface Stability |Volatile |
+-----------------------------+-----------------------------+
SEE ALSO
hald(1M), attributes(5), hal(5)
SunOS 5.11 18 Aug 2006 hal-get-property(1M)