Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. bamore

    Does printf blocks the LWP on solaris?

    If i put a printf in one of the threads in the process, does the LWP where the thread is running get blocked and other thread can get chance to run? Thanks.
  2. bamore

    Printf is a blocking call on solaris?

    Does printf blocks the LWP on solaris?
  3. bamore

    setting rt_tqnsecs to RT_TQDEF

    Hi, I'm trying to understand the REALTIME CLASS in solaris: All the documentation on net are specifying that : The rt_tqsecs and rt_tqnsecs members are used for getting or setting the time quantum associated with an LWP or group of LWPs. rt_tqsecs is the number of seconds in the time quantum...
  4. bamore

    Can I find out how many file descriptors currently used in a process ?

    Hi bomberman, Thanks for your response however i did not see anything in this link about how can we see total number of FDs currently used by a process? Anyway i found out at least one way: using lsof utility we can find out about the FDs currently used by a process!
  5. bamore

    How to execute a built-in shell command in a Perl script.

    A built-in shell command really not an executable; it is actually a subroutine built in to the shell program.
  6. bamore

    How to execute a built-in shell command in a Perl script.

    Yes, you can find out where the executable exists in the current system enviornment but i think "limit" is not a executive file! I had tried which but system could not find the path for it.
  7. bamore

    How to execute a built-in shell command in a Perl script.

    I did not find out where(path) is limit command. I guess this is a built-in shell command so there is no path for it; it is just a input to a shell! Anyway Happy Holidays!
  8. bamore

    Can I find out how many file descriptors currently used in a process ?

    In my application of the process is getting out of file descriptors( MAX is configured as 64 ). Is there any way i can call some function(s) in a C program to find out number of file descriptors currently used in a process? Thanks.
  9. bamore

    How to execute a built-in shell command in a Perl script.

    I tried $output = `limit`;.. still not working! It just printing: The output was: "limit" command sets or gets limitations on the system resources available to the current shell and its descendents When I issue limit command from shell I get (what I’m expecting )as cputime...
  10. bamore

    How to execute a built-in shell command in a Perl script.

    Thanks mikepro1 for the reply. Yeah i tried system('limit') but i think it's not working. Here is what i did: #!/usr/local/bin/perl system('limit'); I'm expeting it will run the limit command but i'm not getting any out put. when i tried #!/usr/local/bin/perl system('ls'); Its working fine!
  11. bamore

    How to execute a built-in shell command in a Perl script.

    Hi, I need to execute "limit descriptors 128" shell command in a perl script. Any Idea how to do so? Thanks.

Part and Inventory Search

Back
Top