Command below will give us all the hardware related information including the Manufacturer and Product Names,
based on this we can identify if a server is virtual or physical.
Server Patching will be done for various reasons usually patches will be released by vendor to fix the security flaws.
1. How do we know what is my machine name and what is its IP address? (in Solaris)
2. If i want to know the amount of physical CPUs a Unix Box possesses (LINUX and/or Solaris) then what command i have to look. (5 Replies)
Hello :-)
I am new to the world of UNIX/LINUX and I have just purchased my first Web Server. I have "root" access to the system and I have a few basic questions, they are:
1. How do you view all user names that have access to the system?
2. How do you add/delete or modify users?
Anyone... (1 Reply)
Hi All,
1. how to what is the current line we are executing. List command will display the 10 lines by default.
2. how to put a pointer to the current excuting line when executing the list.
2. if i have set one break point and i want to set 2nd break point do i need to delete the first break... (1 Reply)
Hello Gurus
I would like to know more about ndd commands related to ethernet(NIC) like how to set link_status, link_speed & link_mode as I know how to check these value. And I also would like to know how to make these setting permanents after reboot as I know that these setting will vanish... (5 Replies)
Hi all,
Now Sun provides a large range of x86 servers and Solaris is running fine on both x86/sparc.
For new projects mainly running Oracle DB on SAN, I am wondering which architecture is best for our new projets.
As we won't go for high end servers (using around 4 or 8 Cpu's par host is... (6 Replies)
I have two items, only related because they are both regarding dhcpd.
First of all, I keep seeing dhcpd responding to DHCPREQUESTs on eth1 which is my cable modem. For example:
Sep 12 21:00:09 plague dhclient: DHCPREQUEST on eth1 to 204.186.xxx.xxx port 67
Sep 12 21:00:09 plague dhcpd:... (2 Replies)
Hello,
I am relatively new to the world of programming in general and to the UNIX System in particular. I have a bunch of theoretical questions related to terminology which I have come across in my coursebooks. I hope I post my question at the right place. Any help would be warmly welcome!
... (1 Reply)
Hi,
We have RHEL 4, 5 and 6. What patching plan is supposed to be? How often do we need to patch these systems?
Thank you in advance! I'll give you my Thanks for any helpful info! (9 Replies)
What are the Pre-installation steps for patching on Solaris servers in real time ?
:confused: (6 Replies)
Discussion started by: vijaykrishna
6 Replies
LEARN ABOUT SUNOS
wsreg_get_vendor
wsreg_set_vendor(3WSREG) Product Install Registry Library Functions wsreg_set_vendor(3WSREG)NAME
wsreg_set_vendor, wsreg_get_vendor - set or get the vendor of a componentt
SYNOPSIS
cc [flag ...] file ...-lwsreg [library ...]
#include <wsreg.h>
int wsreg_set_vendor(Wsreg_component *comp, const char *vendor);
char *wsreg_get_vendor(const Wsreg_component *comp);
DESCRIPTION
The wsreg_set_vendor() function sets the vendor specified by vendor in the component specified by comp. The vendor argument is a string
that identifies the vendor of the component. If a vendor has already been set in the specified component, the resources associated with
the previously set vendor are released.
The wsreg_get_vendor() function gets the vendor string from the component specified by comp. The resulting string must be released by the
caller.
RETURN VALUES
The wsreg_set_vendor() function returns a non-zero value if the vendor was set correctly; otherwise it returns 0.
The wsreg_get_vendor() function returns a copy of the vendor from the specified component.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|MT-Level |Unsafe |
+-----------------------------+-----------------------------+
SEE ALSO wsreg_initialize(3WSREG), attributes(5)SunOS 5.10 22 Sep 2000 wsreg_set_vendor(3WSREG)