Sponsored Content
Full Discussion: ps command input
Top Forums UNIX for Dummies Questions & Answers ps command input Post 302280501 by pludi on Tuesday 27th of January 2009 05:27:17 AM
Old 01-27-2009
Depends on the OS. On Linux it's the /proc pseudo-fs, on HP-UX it's through the pstat_get* kernel interface functions.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

input to a command...

hi all.. I am running this command in linux from a shell script....gpg --output encrypted_file.gpg --encrypt --recipient santhosh@yahoo.com /home/test2/actectest/san.zip.....this is a command for encrypting a file using GnuPG tool.....and while the command is running it stops in between... (1 Reply)
Discussion started by: santy
1 Replies

2. Shell Programming and Scripting

Using Output from one command as input to another

This site has been very helpful thus far.. I thank you all in advance for sharing the knowledge. Let me get to it. I am trying to write a very small script to take away from the boredom of doing the same thing over and over. Everynow and again I have to get the hex value of a file using a... (2 Replies)
Discussion started by: BkontheShell718
2 Replies

3. UNIX for Dummies Questions & Answers

Command to accept input

I am trying to write a one line command for Oracle grid control. I am using a semi-colon to separate the commands. But, I am having a problem with a shell script accepting input. Wondering if you can help. Here is what I am trying to do: (PGPRD5432)@prd01:/> cd /export/home/postgres ##... (3 Replies)
Discussion started by: rexmabry
3 Replies

4. Shell Programming and Scripting

Using output to input another command

Hi guys. Is it possible (I'm sure it is) to use the output of a simple 'ls' command as input of another command 'tail'. It is not really the output of the 'ls'. I have to useeach line of the output. This is the first command... ls *myFile*021308* Which it outputs many filenames. For each... (3 Replies)
Discussion started by: rodrimuino
3 Replies

5. UNIX for Dummies Questions & Answers

problem with output of find command being input to basename command...

Hi, I am triying to make sure that there exists only one file with the pattern abc* in path /path/. This directory is having many huge files. If there is only one file then I have to take its complete name only to use furter in my script. I am planning to do like this: if ; then... (2 Replies)
Discussion started by: new_learner
2 Replies

6. Shell Programming and Scripting

Passing input to perl command

Hi, In awk in can pass input to a command like this echo "1 2" | awk '{p=$1+$2;print v}'or I can use v option to pass input to awk command In the similar way How can I pass input to a perl command. For example : perl -pi -e 'if ( $. == 2 ) {print "Hello\n" }' input.txtIn the above... (1 Reply)
Discussion started by: john_noble
1 Replies

7. Shell Programming and Scripting

input value to a command thru shell

Hi, I'm trying to create files in ccm thru a shell as the number of files that i need to create is in hundreds The problem here is the command prompts for the file type to be entered by the user. I need all the files to be created with "ascii" as file type. So how can i input a... (1 Reply)
Discussion started by: dvah
1 Replies

8. Shell Programming and Scripting

Automatic Input to a command

Hi, I have an issue where i run an command in a shell script. command >/dev/null ret=$? echo ret If the command returns an error i'm redirecting it to /dev/null. The prob is if an error comes it expects the user to press return to continue. And hence the return is not echoed. and the end... (4 Replies)
Discussion started by: subhrap.das
4 Replies

9. Hardware

DD command using block device as input

Hi, I am trying to measure the speed of reading a given block size using the dd command. However depending on which input I use: a regular file (on the same device) or /dev/sdb1, I get some really different results. $sudo sh -c 'echo 3 > /proc/sys/vm/drop_caches'; dd if=pirate of=/dev/null... (9 Replies)
Discussion started by: nytty
9 Replies

10. UNIX for Dummies Questions & Answers

Input for read command

Hello, I want to use the read command in order to input a keyword from the keyboard. I then want to use this keyword in a grep command. How to I input a phrase as a keyword? For example if I use read keyword "today is" and then use grep, I get "No such file or directory" error. (6 Replies)
Discussion started by: FelipeAd
6 Replies
DH_HASKELL_DEPENDS(1)					 Haskell devscripts documentation				     DH_HASKELL_DEPENDS(1)

NAME
dh_haskell_depends - calculates Haskell dependencies on Cabalized libraries SYNOPSIS
dh_haskell_depends [debhelper options] [-Xpackage] [--exclude=package] [file ...] DESCRIPTION
dh_haskell_depends is a debhelper program that helps with calculating dependencies for building Haskell libraries. It automates building libraries for the different supported Haskell systems in Debian. This script writes the debian/$package.substvars file, including in it the haskell:Depends, haskell:Recommends, haskell:Suggests and haskell:Extra-Depends variable. So, to use this package, include in the Depends: field in debian/control ${haskell:Depends}, and do the same for Recommends, Suggests and Extra-Depends. BUGS
hugs and ghc are the only supported targets at the moment. Cabal does not yet support nhc98. SEE ALSO
dh_haskell_provides(1) dh_haskell_shlibdeps(1) dh_haskell_extra_depends(1) debhelper(7) AUTHOR
John Goerzen <jgoerzen@complete.org> Based on ideas in dh_python by Josselin Mouette <joss@debian.org> Haskell devscripts 0.8.12 2011-07-30 DH_HASKELL_DEPENDS(1)
All times are GMT -4. The time now is 09:01 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy