04-12-2009
- This thread is 3 years old
- Linux uname does tell you the OS you're running (Linux) but not what distribution. different Distribution != different OS
10 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
I have seen quite a few posts recently which have launched into questions about specfic errors whose resolution depends a lot upon the OS type and version.
I suggest that in the FAQ an additional entry be included, either under general board usage or posting threads, that informs the user to... (6 Replies)
Discussion started by: saabir
6 Replies
2. UNIX for Dummies Questions & Answers
As a formem unix newbe
I Just wanted to tell you about this cool site for all you confused people.
If you need to support more than one unix type:
Use this one. It's a life saver.
http://www.unixguide.net/unixguide.shtml
here (4 Replies)
Discussion started by: sunbird
4 Replies
3. Programming
Hi all,
How does one get the platform type in UNIX (for e.g. sparc/i386)? I need an function call and not the command like uname -p.
thanks! (24 Replies)
Discussion started by: slash_blog
24 Replies
4. Solaris
i have a program writing in PRO C which currently running in unix version 8 tie with oracle 8i, but in the future company gonna migrate this OS to version 9.
Anything i have to prepare for my PRO C program to run in unix version 9? or anything would that impact my program couldn't run well?
what... (2 Replies)
Discussion started by: lsy
2 Replies
5. UNIX for Dummies Questions & Answers
How do I know what type of shells are available in my Unix system? Are there a single command or environment variable that can let me find that out?
Best regards,
John Chan (7 Replies)
Discussion started by: shuhang2
7 Replies
6. UNIX for Dummies Questions & Answers
Hai guys,This is my first question.
What type of UNIX kernel is?
(W.K.T linux kernel is monolithic)
Thank you (2 Replies)
Discussion started by: Felicia23
2 Replies
7. UNIX for Advanced & Expert Users
SunOS 5.10 Generic_142900-15 sun4v sparc SUNW,T5240
how can i check the storage type being used in unix solaris sparc system?
please help me its urgnet..
thank you (1 Reply)
Discussion started by: aesgs
1 Replies
8. Solaris
SunOS 5.10 Generic_142900-15 sun4v sparc SUNW,T5240
how can i check the storage type being used in unix solaris sparc system?
please help me its urgnet..
thank you (22 Replies)
Discussion started by: aesgs
22 Replies
9. Filesystems, Disks and Memory
how can i check the storage type being used in unix solaris sparc system?
please help me its urgnet..
thank you (4 Replies)
Discussion started by: aesgs
4 Replies
10. UNIX and Linux Applications
Hello,
We are planning a migration from UNIX (HP-UX, AIX, Solaris) to Linux on AZURE.
I know it sounds like extremely complicated :( That's why we need your help :)
We are at the beggining of stage.
We need to categorize the types of applications (software) that generally runs on UNIX... (3 Replies)
Discussion started by: anton.robidson
3 Replies
TKILL(2) Linux Programmer's Manual TKILL(2)
NAME
tkill, tgkill - send a signal to a thread
SYNOPSIS
int tkill(int tid, int sig);
int tgkill(int tgid, int tid, int sig);
DESCRIPTION
tgkill() sends the signal sig to the thread with the thread ID tid in the thread group tgid. (By contrast, kill(2) can only be used to
send a signal to a process (i.e., thread group) as a whole, and the signal will be delivered to an arbitrary thread within that process.)
tkill() is an obsolete predecessor to tgkill(). It only allows the target thread ID to be specified, which may result in the wrong thread
being signaled if a thread terminates and its thread ID is recycled. Avoid using this system call.
If tgid is specified as -1, tgkill() is equivalent to tkill().
These are the raw system call interfaces, meant for internal thread library use.
RETURN VALUE
On success, zero is returned. On error, -1 is returned, and errno is set appropriately.
ERRORS
EINVAL An invalid thread ID, thread group ID, or signal was specified.
EPERM Permission denied. For the required permissions, see kill(2).
ESRCH No process with the specified thread ID (and thread group ID) exists.
VERSIONS
tkill() is supported since Linux 2.4.19 / 2.5.4. tgkill() was added in Linux 2.5.75.
CONFORMING TO
tkill() and tgkill() are Linux-specific and should not be used in programs that are intended to be portable.
NOTES
See the description of CLONE_THREAD in clone(2) for an explanation of thread groups.
Glibc does not provide wrappers for these system calls; call them using syscall(2).
SEE ALSO
clone(2), gettid(2), kill(2)
COLOPHON
This page is part of release 3.27 of the Linux man-pages project. A description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
Linux 2008-10-01 TKILL(2)