11-26-2013
Only one thread for a problem is allowed - no double posts. If you want your original post being moved to another subforum, contact the staff, thanks.
10 More Discussions You Might Find Interesting
1. UNIX Desktop Questions & Answers
We have a "Sunw,ultra-2;sparc sun4u" server running Solaris 5.5.1, and I'm trying to get our Linux ftp server running Red Hat software to interface with
the Sun Solaris. Our administrator was let go last week and I,m a Mac operator that knows little about
PC or net working. All help would be... (1 Reply)
Discussion started by: Tim
1 Replies
2. UNIX for Dummies Questions & Answers
Im trying to set up a linux box (red hat) as an xserver desktop for solaris 2.6. On the solaris box I type:
export DISPLAY=hostname:5
xclock &
I then get the error message:
XLIB: connection to ":5.0" refused by server
XLIB: Client is not autohorised to connect to server
Error: Can't... (1 Reply)
Discussion started by: MBGPS
1 Replies
3. Programming
Hi,
I am trying to get a the process cpu usage from the /proc file recently, on the Solaris 5.10. But met some rookie issue which i need some help. for below program, compiler complains that pstatus_t is undefined, although both type are defined in the procfs.h.
#include <sys/procfs.h>... (4 Replies)
Discussion started by: sleepy_11
4 Replies
4. Solaris
Hi Friends,
I am trying following command on my solaris box:
mount abchostlinux12:/data1/mount_dir /data/mount_dir
OUTPUT:
nfs mount: abchostlinux12: : RPC: Rpcbind failure - RPC: Success
nfs mount: retrying: /data/mount_dir
After this there is no response on command line. I have... (6 Replies)
Discussion started by: SBatra
6 Replies
5. Linux
Hi,
Currently I can able to access php script from solaris. I want to access from Linux
I have done the following things:
1) I have copied all the scripts from solaris to linux.
2) I have installed php,mysql,apache.
I tried with http://Hostname/username/test.php . This is not working .... (6 Replies)
Discussion started by: Mani_apr08
6 Replies
6. UNIX for Advanced & Expert Users
Hi
On Linux systems there is a command called "column".
column - columnate lists
Synopsis
column -tx] -c columns] -s sep] file ...]
Description
The column utility formats its input into multiple columns. Rows are filled before columns. Input is taken from file operands, or,... (3 Replies)
Discussion started by: slashdotweenie
3 Replies
7. Shell Programming and Scripting
Hi ,
I have a script which is running in Solaris.
But my requirement got changed...this script has to run in all OS like Linux,AIX.
I tried it but most of the command is not found in all these OS.
Is there any way so that i can just modify some part and run it in all OS. (3 Replies)
Discussion started by: millan
3 Replies
8. Programming
Hi all
What is the qualification required by Linux/Solaris System Administrator to become a Linux/Solaris System Programmer as to gain complete knowledge on computers.
Thanks (1 Reply)
Discussion started by: Tlogine
1 Replies
9. Linux
hello Forum members.
please find the below iisue and help me to solve the issue.
The below variable is declared in the procfs.h and applications has succuessful running on solaris but,as part of my work i am porting the entire application on linux. the only issue remained is below one. ... (1 Reply)
Discussion started by: kshyap
1 Replies
10. UNIX for Dummies Questions & Answers
Hi
I am using 2 servers Linux and Solaris both 32 bits.
If I start the jvm using -Xmx2g, How much the actual heap space I will have condiering I give 128M to permGen on both Solaris and Linux.
Thanks (0 Replies)
Discussion started by: Raj999
0 Replies
LEARN ABOUT FREEBSD
pgsignal
PSIGNAL(9) BSD Kernel Developer's Manual PSIGNAL(9)
NAME
psignal, pgsignal, gsignal, tdsignal -- post signal to a thread, process, or process group
SYNOPSIS
#include <sys/types.h>
#include <sys/signalvar.h>
void
psignal(struct proc *p, int signum);
void
pgsignal(struct pgrp *pgrp, int signum, int checkctty);
void
gsignal(int pgid, int signum);
void
tdsignal(struct thread *td, int signum);
DESCRIPTION
These functions post a signal to a thread or one or more processes. The argument signum common to all three functions should be in the range
[1-NSIG].
The psignal() function posts signal number signum to the process represented by the process structure p. With a few exceptions noted below,
the target process signal disposition is updated and is marked as runnable, so further handling of the signal is done in the context of the
target process after a context switch. Note that psignal() does not by itself cause a context switch to happen.
The target process is not marked as runnable in the following cases:
o The target process is sleeping uninterruptibly. The signal will be noticed when the process returns from the system call or trap.
o The target process is currently ignoring the signal.
o If a stop signal is sent to a sleeping process that takes the default action (see sigaction(2)), the process is stopped without
awakening it.
o SIGCONT restarts a stopped process (or puts them back to sleep) regardless of the signal action (e.g., blocked or ignored).
If the target process is being traced psignal() behaves as if the target process were taking the default action for signum. This allows the
tracing process to be notified of the signal.
The pgsignal() function posts signal number signum to each member of the process group described by pgrp. If checkctty is non-zero, the sig-
nal will be posted only to processes that have a controlling terminal. pgsignal() is implemented by walking along the process list headed by
the field pg_members of the process group structure pointed at by pgrp and calling psignal() as appropriate. If pgrp is NULL no action is
taken.
The gsignal() function posts signal number signum to each member of the process group identified by the group id pgid. gsignal() first finds
the group structure associated with pgid, then invokes pgsignal() with the argument checkctty set to zero. If pgid is zero no action is
taken.
The tdsignal() function posts signal number signum to the thread represented by the thread structure td.
SEE ALSO
sigaction(2), signal(9), tsleep(9)
BSD
October 8, 2011 BSD