12-07-2006
Sorry it is a hidden file so it is .getdir And the parameter that it takes is just a hashed value of some text and the .getdir script unhashes it.
When I run the .getdir script in the console with the parameter it works fine. But as I said it doesnt seem to be doing anything in the main script. I was very curious about the syntax of that line that you quoted and I thank you for your reply.
-Batch
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
i have a script, which is continuously looping. i want to view the script name when i use ps command... it is only showing -sh ...
UID PID PPID C STIME TTY TIME COMMAND
informix 8533 20923 0 18:19:28 pts/ta 0:00 -sh
but i dont have my scriptname displayed .... how can i do that my script is... (0 Replies)
Discussion started by: guhas
0 Replies
2. UNIX for Dummies Questions & Answers
Hi
I am using DB2 as the database and i am reading syscat.columns from the database.
I want to manipulate the rows returned by running SQL query from the shell script. The manipulation involves addition and deletion of the rows from the resultset.
All the above i want to do using SQL... (5 Replies)
Discussion started by: skyineyes
5 Replies
3. Shell Programming and Scripting
hi i want solution regarding usage of array. i m having code which is written using if-
elif and can i use or access using arrays.
here i wana use array values along with if -elif condition. i dnt wana use command line argument
parameter1=(scram no_scram)
if ; then
... (0 Replies)
Discussion started by: manish1
0 Replies
4. Windows & DOS: Issues & Discussions
Hi, Please accept my apologies if I have not explained anything clearly enough but i am a little old on new lingo!!!
I am running XP from home and last night the following happened.
After being logged on for pretty much the full day, I had what seemed like a pop up come up. Although most pop... (3 Replies)
Discussion started by: nike1601
3 Replies
5. UNIX for Advanced & Expert Users
--------------------------------------------------------------------------------
hy guys,
i got few interview questions i need someone to answer urgently:
1)If you cant get to the root, you try to fsck it, but gets errors to read file systems. What steps do you take to recover the host... (1 Reply)
Discussion started by: charneet
1 Replies
6. Shell Programming and Scripting
Hi,
Below is my issue which I desperately need and I want a shell script which can do this job.
I need this script as I m planning to put this for a system health check. Please assist me.
1. There are 10 log files in a particular location.
2. open each log file. Goto to the end of the... (1 Reply)
Discussion started by: kashriram
1 Replies
7. UNIX for Dummies Questions & Answers
Hello Friends,
I am a Graduate in Computers. I completed BCA degree this year. I want to make my career in UNIX. But, unfortunately I don't know anybody who can guide me. I am totally confuse because I don't know where to start and what are the future prospect in UNIX.
Please give your... (4 Replies)
Discussion started by: Luckyless
4 Replies
8. Shell Programming and Scripting
Hi,
I have a directory, where i get 4 files for each day... The files will be generated at any time. I am trying for a shell script for copying the file from this directory whenever new file is generated.
Say for example : If the directory X has following files A1,A2,A3,A4,B1,B2,B3,B4...... (2 Replies)
Discussion started by: krishh.kk
2 Replies
9. Programming
KING KONG ELECTRICITY AUTHORITY
BILL CALCULATOR
You are required to develop a script that will enable KING KONG ELECTRICITY AUTHORITY to
calculate customer bills based on their meter readings.
The customers are categorized into the following categories:
Residential customers
Commercial... (1 Reply)
Discussion started by: watisevil
1 Replies
10. Shell Programming and Scripting
Hi
I want to create a script which deleted files in the following folders older than 30 days. There are a particular version of files inside it to be deleted
Folders :
/files0/interfaces/ResponsysSavedList/BackInStock/EmailContent/backup... (3 Replies)
Discussion started by: Scudza
3 Replies
LEARN ABOUT DEBIAN
google-pprof
PPROF(1) Google PPROF(1)
NAME
google-pprof - manual page for google-pprof (part of gperftools)
SYNOPSIS
google-pprof [options] <program> <profile>
DESCRIPTION
Prints specified cpu- or heap-profile
OPTIONS
--cum Sort by cumulative data
--base=<base>
Subtract <base> from <profile> before display
Reporting Granularity:
--addresses
Report at address level
--lines
Report at source line level
--functions
Report at function level [default]
--files
Report at source file level
Output type:
--text Generate text report [default]
--gv Generate Postscript and display
--list=<regexp>
Generate source listing of matching routines
--disasm=<regexp>
Generate disassembly of matching routines
--dot Generate DOT file to stdout
--ps Generate Postcript to stdout
--pdf Generate PDF to stdout
--gif Generate GIF to stdout
Heap-Profile Options:
--inuse_space
Display in-use (mega)bytes [default]
--inuse_objects
Display in-use objects
--alloc_space
Display allocated (mega)bytes
--alloc_objects
Display allocated objects
--show_bytes
Display space in bytes
--drop_negative
Ignore negaive differences
Call-graph Options:
--nodecount=<n>
Show at most so many nodes [default=80]
--nodefraction=<f>
Hide nodes below <f>*total [default=.005]
--edgefraction=<f>
Hide edges below <f>*total [default=.001]
--focus=<regexp>
Focus on nodes matching <regexp>
--ignore=<regexp>
Ignore nodes matching <regexp>
--scale=<n>
Set GV scaling [default=0]
EXAMPLES
google-pprof /bin/ls ls.prof
Outputs one line per procedure
google-pprof --gv /bin/ls ls.prof
Displays annotated call-graph via 'gv'
google-pprof --gv --focus=Mutex /bin/ls ls.prof
Restricts to code paths including a .*Mutex.* entry
google-pprof --gv --focus=Mutex --ignore=string /bin/ls ls.prof
Code paths including Mutex but not string
google-pprof --list=getdir /bin/ls ls.prof
Dissassembly (with per-line annotations) for getdir()
google-pprof --disasm=getdir /bin/ls ls.prof
Dissassembly (with per-PC annotations) for getdir()
COPYRIGHT
Copyright (C) 2005 Google Inc.
SEE ALSO
Further documentation for google-pprof is maintained as a web page called cpu_profiler.html and is likely installed at one of the following
locations:
/usr/share/gperftools/cpu_profiler.html
/usr/local/share/gperftools/cpu_profiler.html
google-pprof (part of gperftools) February 2005 PPROF(1)