10-06-2008
Problem with pthread_suspend,pthread_continue in Linux
Hi all
I compiled a program in HP-UNIX wher it s compiled with lpthread lib
but when i compile the same thing in linux it unable to find the system calls
pthread_suspend ,continue
Here whether i have to upgrade the thread lib or the linux itself wont support the pthread calls.
regards
pramod
10 More Discussions You Might Find Interesting
1. Programming
I have a problem reading characters from keyboard with the scanf function.
Here there is a little piece of code:
#include <stdio.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
/* The last 3 libraries are included because in the real program I use some... (4 Replies)
Discussion started by: robotronic
4 Replies
2. UNIX for Dummies Questions & Answers
I am very new to Linux and trying to install Oracle 9.2 on Red Hat Linux 7.2. My problem: /tmp needs to be larger in order to install Oracle. It is 64MB now. How can I resize this? I'm totally confused !!
Thanks. (7 Replies)
Discussion started by: canova
7 Replies
3. UNIX for Dummies Questions & Answers
Hi,
My company has a RH Linux AS server ( Linux 2.4.21-27.0.2.ELsmp ).
I'm currently writing some shell scripts. I observed that if I vi a file with .fs extension. It prompts me the following error:
"123.fs" 0L, 0C
W18: Invalid character in group name
If I vi... (3 Replies)
Discussion started by: donaldfung
3 Replies
4. Linux
I have Linux on an image in my cd-rom drive.
I have previously loaded Windows XP but couldnt use it because I had already installed it on another PC - so I want to remove this and load Linux.
I am fairly PC illiterate when it come to dos-commands and such...
HELP!!! (1 Reply)
Discussion started by: Kyroq
1 Replies
5. Linux
Hello,all
I want set ftp access for specific user. The user can only access specific directory and cannot access upper level directory. For example:
I have
/home/vhosts/likke.com
I like a user to access likke.com but not vhosts. How can I implement this ?
Thanks a lot! (1 Reply)
Discussion started by: xli3
1 Replies
6. Ubuntu
Hi all,
We are using linux Redhat 9.
While booting the server, it says /proc not mounted and it says "Segmentation fault" and doesn't continue with booting.
Basically, it started while we inserted a pen drive and removed it without mounting and un mounting it. After removing the pen drive &... (1 Reply)
Discussion started by: mjdarm
1 Replies
7. Homework & Coursework Questions
Hi. I have a problem with my homework. I have to do a Script that will tell me the number of users that are logged in on my system through a network and find out their IP's.
Can you give me an idea?
Thanks (1 Reply)
Discussion started by: mitzu
1 Replies
8. Linux
Masters,
I really need help here.... I had to format my system so my installed Linux goes away..
Now I am trying to fresh installation, but stuck at one point, did RND for 2-3 days but no luck, hence posting here....
I am stuck on the "installation method" step..As I am trying to install... (6 Replies)
Discussion started by: joshilalit2004
6 Replies
9. Ubuntu
i have problem in running of Linux programing .can i run this programing in ubuntu.
and what will be the procedure for that. please gave me a perfect suggestion.:wall: (8 Replies)
Discussion started by: g.gupta3392
8 Replies
10. HP-UX
Hello,
I want to mount a directory with nfs (v3).
Server HP-UX 10.20
Client Centos
If I export the path "/tausch" with access control for hosts with the command mount -t nfs <SERVER_HP-UX_IP>:/tausch/ /mnt/mnt_bach2/
/etc/exports:
/tausch ... (8 Replies)
Discussion started by: nuts
8 Replies
LEARN ABOUT DEBIAN
pmload
PMLOAD(1p) User Contributed Perl Documentation PMLOAD(1p)
NAME
pmload - show what files a given module loads at compile time
DESCRIPTION
Given an argument of a module name, show all the files that are loaded directly or indirectly when the module is used at compile-time.
EXAMPLES
$ pmload IO::Handle
/usr/local/devperl/lib/5.00554/Exporter.pm
/usr/local/devperl/lib/5.00554/Carp.pm
/usr/local/devperl/lib/5.00554/strict.pm
/usr/local/devperl/lib/5.00554/vars.pm
/usr/local/devperl/lib/5.00554/i686-linux/DynaLoader.pm
/usr/local/devperl/lib/5.00554/i686-linux/IO/Handle.pm
/usr/local/devperl/lib/5.00554/Symbol.pm
/usr/local/devperl/lib/5.00554/i686-linux/IO/File.pm
/usr/local/devperl/lib/5.00554/SelectSaver.pm
/usr/local/devperl/lib/5.00554/i686-linux/Fcntl.pm
/usr/local/devperl/lib/5.00554/AutoLoader.pm
/usr/local/devperl/lib/5.00554/i686-linux/IO.pm
/usr/local/devperl/lib/5.00554/i686-linux/IO/Seekable.pm
$ cat `pmload IO::Socket` | wc -l
4015
$ oldperl -S pmload Tk
/usr/lib/perl5/site_perl/Tk/Pretty.pm
/usr/lib/perl5/Symbol.pm
/usr/lib/perl5/site_perl/Tk/Frame.pm
/usr/lib/perl5/site_perl/Tk/Toplevel.pm
/usr/lib/perl5/strict.pm
/usr/lib/perl5/Exporter.pm
/usr/lib/perl5/vars.pm
/usr/lib/perl5/site_perl/auto/Tk/Wm/autosplit.ix
/usr/lib/perl5/site_perl/auto/Tk/Widget/autosplit.ix
/usr/lib/perl5/site_perl/Tk.pm
/usr/lib/perl5/i386-linux/5.00404/DynaLoader.pm
/usr/lib/perl5/site_perl/auto/Tk/Frame/autosplit.ix
/usr/lib/perl5/site_perl/auto/Tk/Toplevel/autosplit.ix
/usr/lib/perl5/Carp.pm
/usr/lib/perl5/site_perl/auto/Tk/autosplit.ix
/usr/lib/perl5/site_perl/Tk/CmdLine.pm
/usr/lib/perl5/site_perl/Tk/MainWindow.pm
/usr/lib/perl5/site_perl/Tk/Submethods.pm
/usr/lib/perl5/site_perl/Tk/Configure.pm
/usr/lib/perl5/AutoLoader.pm
/usr/lib/perl5/site_perl/Tk/Derived.pm
/usr/lib/perl5/site_perl/Tk/Image.pm
/usr/lib/perl5/site_perl/Tk/Wm.pm
/usr/lib/perl5/site_perl/Tk/Widget.pm
NOTE
If the programmers used a delayed "require", those files won't show up. Furthermore, this doesn't show all possible files that get opened,
just those that those up in %INC. Most systems have a way to trace system calls. You can use this to find the real answer. First, get a
baseline with no modules loaded.
$ strace perl -e 1 2>&1 | perl -nle '/^open("(.*?)".* = [^-]/ && print $1'
/etc/ld.so.cache
/lib/libnsl.so.1
/lib/libdb.so.2
/lib/libdl.so.2
/lib/libm.so.6
/lib/libc.so.6
/lib/libcrypt.so.1
/dev/null
$ strace perl -e 1 2>&1 | grep -c '^open.*= [^-]'
8
Now add module loads and see what you get:
$ strace perl -MIO::Socket -e 1 2>&1 | grep -c '^open.*= [^-]'
24
$ strace perl -MTk -e 1 2>&1 | grep -c '^open.*= [^-]'
35
SEE ALSO
Devel::Loaded, plxload(1).
AUTHORS and COPYRIGHTS
Copyright (C) 1999 Tom Christiansen.
Copyright (C) 2006-2008 Mark Leighton Fisher.
This is free software; you can redistribute it and/or modify it under the terms of either: (a) the GNU General Public License as published
by the Free Software Foundation; either version 1, or (at your option) any later version, or (b) the Perl "Artistic License". (This is the
Perl 5 licensing scheme.)
Please note this is a change from the original pmtools-1.00 (still available on CPAN), as pmtools-1.00 were licensed only under the Perl
"Artistic License".
perl v5.10.1 2010-02-22 PMLOAD(1p)