01-12-2009
Just open it with your favorite editor...
If, OTOH, you want to obtain information about said file, you have to be more specific about what you want. Do you want any (possibly) human readable strings? Decompile it? Library depencies?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I am newbie in unix and just started learning it. I want to know what is the difference between an executable file and a file (say text file). How to create executable file? What is the extension for that? How to differentiate ? How does it get executed?
Thanks (1 Reply)
Discussion started by: Balaji
1 Replies
2. UNIX for Dummies Questions & Answers
Hi All,
How can we execute a Unix file (shell script), which had given "Execute" permission using
chmod +x file1
If i want to execute that file.
prompt>./file1
Hello
How can i make the file permission or something else. such that i can execute it using
prompt>file1
Hello
Note :... (9 Replies)
Discussion started by: anent
9 Replies
3. UNIX for Dummies Questions & Answers
hello Folks,
once we compile any C code on Linux, we run the code using "./a.out"..
but can we have an executable for every program so that we can run the code directly without compiling the code every time.
just run the executable and get the output!
Thanks! (7 Replies)
Discussion started by: compbug
7 Replies
4. Shell Programming and Scripting
Hi everybody:
I have strange problem. I have compiled a source code and created an executable file. This file I can use it into my PC, but when I copy this executable to my laptop this one doesn't work and the system tell me:
bash: ./sbdart_unix: cannot execute binary file
Somebody can... (3 Replies)
Discussion started by: tonet
3 Replies
5. Programming
I've created a c program and compiled it with gcc, in unix.
The file name is abc.c and it is run by typing the command ./abc
I have another program which creates a child process, and I need this abc program to run on that child process. I've tried execvp(), but it doesn't work.
How can I run... (2 Replies)
Discussion started by: sdsd
2 Replies
6. UNIX for Advanced & Expert Users
The binary file is
ELF-64 executable object file - IA64.
How i know that the source is
Is there any comamnd in unix i can read these kind of files or use a thirty party software?
Thanks for your help (8 Replies)
Discussion started by: alexcol
8 Replies
7. Programming
Hi all,
I have modified a C file and executed it. While executing the executable file for that C file, it shows à is cannot be printed.
I have given isprint(à) to test it. When I copy the old executable file and execute it it shows it can be printed.
Then I retain the C code back and executed it... (1 Reply)
Discussion started by: sivakumar.rj
1 Replies
8. Shell Programming and Scripting
Hi - How can I find out under sh whitch file is an unix executable file? Need it for an software inventory. Thanks in advance. Regards - Lazybaer (6 Replies)
Discussion started by: lazybaer
6 Replies
9. Solaris
Hi
When i m trying the boot the system with Primary HDD (c1t0d0s0) -- its solaris 10
I m getting an error "file just loaded does not appear to be executable".....So will anyone share the steps to recover from this stage
I also tried to build the corrupted superblock from below command but... (0 Replies)
Discussion started by: taruntan
0 Replies
10. Solaris
Hi!
What are executable file formats in Solaris? Can someone please share it?
Thanks! (3 Replies)
Discussion started by: Klyde
3 Replies
LEARN ABOUT FREEBSD
pmc_name_of_disposition
PMC_NAME_OF_CAPABILITY(3) BSD Library Functions Manual PMC_NAME_OF_CAPABILITY(3)
NAME
pmc_name_of_capability, pmc_name_of_class, pmc_name_of_cputype, pmc_name_of_disposition, pmc_name_of_event, pmc_name_of_mode,
pmc_name_of_state -- human readable names for numeric constants used by pmc(3) and hwpmc(4)
LIBRARY
Performance Counters Library (libpmc, -lpmc)
SYNOPSIS
#include <pmc.h>
const char *
pmc_name_of_capability(enum pmc_caps pc);
const char *
pmc_name_of_class(enum pmc_class pc);
const char *
pmc_name_of_cputype(enum pmc_cputype ct);
const char *
pmc_name_of_disposition(enum pmc_disp pd);
const char *
pmc_name_of_event(enum pmc_event pe);
const char *
pmc_name_of_mode(enum pmc_mode pm);
const char *
pmc_name_of_state(enum pmc_state ps);
DESCRIPTION
These convenience functions translate numeric constants used by the Performance Counters Library (libpmc, -lpmc) to const char * pointers to
human readable representations of their arguments.
Function pmc_name_of_capability() translates a PMC capability flag given in argument pc to a human readable string. PMC capabilities are
described in pmc(3).
Function pmc_name_of_class() translates the PMC class value specified in argument pc to a human readable name. PMC classes are described in
pmc(3).
Function pmc_name_of_cputype() translates the CPU type value specified in argument ct to a human readable name. CPU types known to the
library are described in pmc(3).
Function pmc_name_of_disposition() translates the PMC row disposition specified in argument pd to a human readable name. PMC row disposi-
tions are described in hwpmc(4).
Function pmc_name_of_event() translates the PMC event number specified by argument pe to a string. PMC event names are documented in section
EVENT SPECIFIERS of pmc(3).
Function pmc_name_of_mode() translates the PMC mode specified by argument pm to a human readable string. PMC modes are described in pmc(3).
Function pmc_name_of_state() translates the value of argument ps to a human readable name.
IMPLEMENTATION NOTES
The returned pointers point to static storage inside the PMC library and should not be freed by the caller.
RETURN VALUES
These functions return a non-NULL pointer on successful completion. In case of an error, a NULL pointer is returned and the global variable
errno is set to indicate the error.
ERRORS
A call to these functions may fail with the following errors:
[EINVAL] The function argument specified an invalid value.
SEE ALSO
pmc(3), pmc_cpuinfo(3), pmc_pmcinfo(3), hwpmc(4)
BSD
November 24, 2007 BSD