Hey guys,
Any chance of getting a thread under 'Special Interest Topics' for Interix/SFU? This has to be one of the most poorly documented pieces of software floating around and it works great for interoperability of windows systems with the rest of your unix/linux network rather than having to... (3 Replies)
Just installed SFU in my PC running under Windows XP Pro. Could someone tell us how to change directory and to its subdirectories either by Korn Shell or C Shell?
I tried, cd f:\ or chdir f:\ but it didn't work. (1 Reply)
I tried to run my ksh scripts in SFU and it always says "not found" as in the example below:
$ .file
/bin/ksh: .file: not found
Did I miss something in the SFU Installation? (2 Replies)
I'm trying to ftp a file from Solaris to Windows XP Pro using SFU and the command that I used is as follows:
ftp -n “host” << cmd
user “loginname” “password”
cd Directory
ls filename error
bye
cmd
If the filename does not exist, it shows the following output:
Output to local-file:... (2 Replies)
hi guys
i am trying using this awk command which works perfectly on unix
awk '$1>=dt' dt="2007-12-03" filename
but when i run same command for same file under SFU it does nothing simply prints the file ( just like cat command ) i am not getting why ?
any way i used sed for same ( little... (5 Replies)
I am new in UNIX so pardon me if I am asking this question. We are using SFU in Windows to have a Windows folder mounted over UNIX. While we can see the mount, everytime i cd on the mounted folder (e.g. cd CONFIG) I always get Permission denies error. Does anyone know why I cannot go inside the... (11 Replies)
Hi all
How can I use ps command on korn shell emulated by SFU on Windows Server ?
All others commands work fine, but this one I don't know :confused:
Many thanks
---------- Post updated at 11:28 AM ---------- Previous update was at 10:12 AM ----------
Ok, it works fine in fact, I'm... (0 Replies)
Hi, I support a small lab of older HP UX 9 and 10 boxes. We have some older NT 4.0 machines at each UX box, with a old ZFS Server programs hosting two mounted directories. (Each UX and NT machine is on its own private network via crossover cable). Due to hardware failure/support EOL on NT, I have... (3 Replies)
Hi all,
i am currently setting my windows XP environment to use with Services for Unix (NFS Client) to mount my unix file system as a network drive. However, though i could mount the unix file directory successful, but the folder is empty (which is not). Why is this so? i have imported my unix... (6 Replies)
Hi all,
When I execute ps command with SFU (Microsoft Windows Services for UNIX), the result is returned as an empty line.
Other commands will return correct results.
How can I get the result of ps command correctly?
Thank you. (2 Replies)
Discussion started by: tcx731
2 Replies
LEARN ABOUT CENTOS
papi_state
PAPI_state(3) PAPI PAPI_state(3)NAME
PAPI_state -
Return the counting state of an EventSet.
SYNOPSIS Detailed Description
C Interface:
#include <papi.h>
int PAPI_state( int EventSet, int * status );
Parameters:
EventSet -- an integer handle for a PAPI event set as created by PAPI_create_eventset
status -- an integer containing a boolean combination of one or more of the following nonzero constants as defined in the PAPI header
file papi.h:
o PAPI_STOPPED -- EventSet is stopped
o PAPI_RUNNING -- EventSet is running
o PAPI_PAUSED -- EventSet temporarily disabled by the library
o PAPI_NOT_INIT -- EventSet defined, but not initialized
o PAPI_OVERFLOWING -- EventSet has overflowing enabled
o PAPI_PROFILING -- EventSet has profiling enabled
o PAPI_MULTIPLEXING -- EventSet has multiplexing enabled
o PAPI_ACCUMULATING -- reserved for future use
o PAPI_HWPROFILING -- reserved for future use
Return values:
PAPI_OK
PAPI_EINVAL One or more of the arguments is invalid.
PAPI_ENOEVST The EventSet specified does not exist.
PAPI_state() returns the counting state of the specified event set.
Example:
* int EventSet = PAPI_NULL;
* int status = 0;
* int ret;
*
* ret = PAPI_create_eventset(&EventSet);
* if (ret != PAPI_OK) handle_error(ret);
*
* // Add Total Instructions Executed to our EventSet
* ret = PAPI_add_event(EventSet, PAPI_TOT_INS);
* if (ret != PAPI_OK) handle_error(ret);
*
* // Start counting
* ret = PAPI_state(EventSet, &status);
* if (ret != PAPI_OK) handle_error(ret);
* printf("State is now %d0,status);
* ret = PAPI_start(EventSet);
* if (ret != PAPI_OK) handle_error(ret);
* ret = PAPI_state(EventSet, &status);
* if (ret != PAPI_OK) handle_error(ret);
* printf("State is now %d0,status);
*
See Also:
PAPI_stop PAPI_start
Author
Generated automatically by Doxygen for PAPI from the source code.
Version 5.2.0.0 Tue Jun 17 2014 PAPI_state(3)