04-13-2013
Where did you set your PATH? Please provide samples/examples..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
i´m new in unix help me... (2 Replies)
Discussion started by: Texto
2 Replies
2. UNIX for Dummies Questions & Answers
Dear experts,
I have installed Ruby in the following directory:
$ pwd
/home/ewijaya/.ruby
$ ls
bin lib share
And I have also stated the PATH in my bash_profile like this:
# .bash_profile
# Get the aliases and functions
if ; then
. ~/.bashrc (1 Reply)
Discussion started by: monkfan
1 Replies
3. Shell Programming and Scripting
Can we have a shell script for this sort of conversion?
There are some web-based tools which display the contents of tar.Z format. I am trying to convert zip files to that
Thanks in advance (2 Replies)
Discussion started by: eagercyber
2 Replies
4. UNIX for Dummies Questions & Answers
Hello,
I am trying to return the name of the resulting file from a .zip archive file using unix unzip command.
unzip c07212007.cef7081.zip
Archive: c07212007.cef7081.zip
SecureZIP for z/OS by PKWARE
inflating: CEP/CEM7080/PPVBILL/PASS/G0063V00
I used the following command to unzip in... (5 Replies)
Discussion started by: oracledev
5 Replies
5. Windows & DOS: Issues & Discussions
Hi,
On a daily basis I have download .zip file from FTP site. Naming convention of .zip is UCC-20100816.zip
I want to create windows batch file which will automatically download latest .zip file based on system date.
.zip file is gets uploaded on a daily basis on FTP site in... (4 Replies)
Discussion started by: rahulbahulekar
4 Replies
6. Solaris
I am back here after long time!
Need help of experts!
I am trying to unzip a zip file. I tried with unzip and got the below error
#unzip -p ConfigMigrationUtility.zip
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a... (4 Replies)
Discussion started by: kumarmani
4 Replies
7. UNIX for Dummies Questions & Answers
Hi all, need help here in moving a .zip file into a suse system and want it to be in .rar format. How can i do this? (1 Reply)
Discussion started by: mena
1 Replies
8. UNIX for Dummies Questions & Answers
I was trying to copy the file content of program from server to other server you ctrl+c. once after the pasting in the other server the file alignment is getting changed. since I don't have scp permission.
I am getting aligment improperly.
wat needs to be done to make the format ccorrecltly as... (5 Replies)
Discussion started by: k.keerthi2005
5 Replies
9. SCO
Dear Community!
i try to instaled the sco 6 in hp proliant ML350g8
but unsucces,
the trouble when i do instaled it undetected hardisk
please help me
:(:o (7 Replies)
Discussion started by: mnr
7 Replies
10. Solaris
Hi,
I installed some packages required by an app built with python.
But when I try python setup.py install, I get the following error:
/opt/csw/lib/gcc/sparc-sun-solaris2.10/5.2.0/../../../../sparc-sun-solaris2.10/bin/as: unrecognized option `-m32'
Could anyone tell me what's wrong... (4 Replies)
Discussion started by: Kimkun
4 Replies
PROFIL(2) BSD System Calls Manual PROFIL(2)
NAME
profil -- control process profiling
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <unistd.h>
int
profil(char *samples, size_t size, u_long offset, u_int scale);
DESCRIPTION
-- This function is now deprecated. It will always return EINVAL. --
The intended replacements are the user-level developer tools, like CHUD and dtrace.
------
The profil() function enables or disables program counter profiling of the current process. If profiling is enabled, then at every clock
tick, the kernel updates an appropriate count in the samples buffer.
The buffer samples contains size bytes and is divided into a series of 16-bit bins. Each bin counts the number of times the program counter
was in a particular address range in the process when a clock tick occurred while profiling was enabled. For a given program counter
address, the number of the corresponding bin is given by the relation:
[(pc - offset) / 2] * scale / 65536
The offset parameter is the lowest address at which the kernel takes program counter samples. The scale parameter ranges from 1 to 65536 and
can be used to change the span of the bins. A scale of 65536 maps each bin to 2 bytes of address range; a scale of 32768 gives 4 bytes,
16384 gives 8 bytes and so on. Intermediate values provide approximate intermediate ranges. A scale value of 0 disables profiling.
RETURN VALUES
If the scale value is nonzero and the buffer samples contains an illegal address, profil() returns -1, profiling is terminated and errno is
set appropriately. Otherwise profil() returns 0.
FILES
/usr/lib/gcrt0.o profiling C run-time startup file
gmon.out conventional name for profiling output file
ERRORS
The following error may be reported:
[EFAULT] The buffer samples contains an invalid address.
SEE ALSO
gprof(1)
HISTORY
The profil() function appeared in Version 7 AT&T UNIX.
BUGS
This routine should be named profile().
The samples argument should really be a vector of type unsigned short.
The format of the gmon.out file is undocumented.
BSD
September 26, 2008 BSD