Sponsored Content
Full Discussion: Solaris ip Change
Operating Systems Solaris Solaris ip Change Post 302325493 by raynu.sharma on Monday 15th of June 2009 09:58:52 AM
Old 06-15-2009
Thanks for replying

i checked this file also after assigning ip. it was ok
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

change solaris to 32bit

Hi Any one know how to change solaris 7 from 64 bit, back to 32 bit,, i know its on sunsolve somewhere but i cant see it. thanks:D (2 Replies)
Discussion started by: thangorn
2 Replies

2. IP Networking

How to change hostname and ip in solaris

Dear all, I am going to change the IP address and hostname in my solaris, but I don't know how to do it. If you have any idea or suggestion, please fell free to let me know. Thanks and Regards (2 Replies)
Discussion started by: PennyLi
2 Replies

3. Solaris

Change hostname in Solaris 9

Please anyone guide me how to change the hostname in Solaris 9? The IP of the machie is fetched from a DHCP server. (6 Replies)
Discussion started by: shabu
6 Replies

4. UNIX for Advanced & Expert Users

change passwd remotely in solaris 10

i'm trying to change passwd remotely in unix (solaris) and tried using "expect" but it is not working. Any ideas to change the passwd remotely using a shell script? (1 Reply)
Discussion started by: pharos467
1 Replies

5. UNIX for Dummies Questions & Answers

Change root prompt (Solaris)

Hello all. I was wondering if there is a way to change the root prompt. I am using Solaris 10 and would like to have the root prompt display the current directory along with 'SU' to indicate root status. What I have tried so far: /etc/passwd changed the root shell to korn with... (10 Replies)
Discussion started by: RobertSubnet
10 Replies

6. Solaris

change disk under solaris 6

hi every one , i want to change the failed disk under solaris 6 i know that it's different than other revisions but i havn't a procedure ,can someone help me plz? (5 Replies)
Discussion started by: lid-j-one
5 Replies

7. Solaris

Change Solaris hostid

Hi, I've searched the UNIX forum looking for a simple procedure how to change\control my Solaris server hostid. I did found few threads but all of them either have broken links to all kinds of scripts or not described simply for some UNIX beginers user like me. Can anyone assist me? I... (21 Replies)
Discussion started by: avisht
21 Replies

8. Solaris

temperory ip change in solaris 9

Hi Admins, For testing purpose we are moving sun solaris 9 in to test vlan .So i need to change the ip, subnet mask and gateway temperorily. Below are the procedure m going to perform. 1. Backup of ifconfig -a , netstat -an, netstat -rn , netstat -in 2. Backup of... (5 Replies)
Discussion started by: newsol
5 Replies

9. Solaris

Change timezone in Solaris 11

I was trying to change timezone on my new solaris-11 server to US/Pacific, but not successfull. root@tsapp01 # grep TZ /etc/default/init TZ=localtime Can somebody share something on this ? It seems, /etc/TIMEZONE is no longer in use for Solaris 11 (2 Replies)
Discussion started by: solaris_1977
2 Replies
PGET(9) 						   BSD Kernel Developer's Manual						   PGET(9)

NAME
pget -- locate a process by number SYNOPSIS
#include <sys/param.h> #include <sys/proc.h> int pget(pid_t pid, int flags, struct proc **pp); DESCRIPTION
This function takes a pid as its argument, which can be either a process or thread id, and fills a pointer to the proc structure in *pp. In the latter case, a process owning the specified thread is looked for. The operation is performed by invoking the pfind(9) function. The found process is returned locked. For the PGET_HOLD case, it is returned unlocked (but held). The pget() function can perform additional manipulations, depending on a flags argument. The flags argument is the logical OR of some subset of: PGET_HOLD If set, the found process will be held and unlocked. PGET_CANSEE If set, the found process will be checked for its visibility. See p_cansee(9). PGET_CANDEBUG If set, the found process will be checked for its debuggability. See p_candebug(9). PGET_ISCURRENT If set, the found process will be checked that it matches the current process context. PGET_NOTWEXIT If set, the found process will be checked that it does not have the process flag P_WEXIT set. PGET_NOTINEXEC If set, the found process will be checked that it does not have the process flag P_INEXEC set. PGET_NOTID If set, pid is not assumed as a thread id for values larger than PID_MAX. PGET_WANTREAD If set, the found process will be checked that the caller may get a read access to its structure. A shorthand for (PGET_HOLD | PGET_CANDEBUG | PGET_NOTWEXIT). RETURN VALUES
If the process is found in the specified way, then zero is returned, otherwise an appropriate error code is returned. SEE ALSO
p_candebug(9), p_cansee(9), pfind(9) BSD
May 3, 2014 BSD
All times are GMT -4. The time now is 02:57 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy