I have a samba server node and I want to mount the samba (CIFS) shares from a second (client) unix machine.
However, the unix mount command requires I specify the name of the share. What if I don't know the name of the share?
How can I enumerate all the shares from the samba client machine?
... (1 Reply)
how to make a line BLINKING in output and also how to increase font size in output
suppose in run a.sh script
inside echo "hello world "
i want that this should blink in the output and also
the font size of hello world should be big ..
could you please help me out in this (3 Replies)
Hi all,
I want to write a program in C that can enumerate all USB massand their mount point storage on my system. i want to give ability to copy one file to desired USB mass storage or read a file from it. I have posted another question about how can recieve USB arrival in this forum.
I think... (0 Replies)
Hi.
I'm new to scripting / programming and was wondering what the best way to output all mounted storage devices and their names to an array would be ? I would like to achieve this using the bash shell.
Any assistance with this would be greatly appreciated.
Regards,
Jonno :b: (4 Replies)
Hi All,
I have around 900 Select Sql's which I would like to run in an awk script and print the output of those sql's in an txt file.
Can you anyone pls let me know how do I do it and execute the awk script? Thanks. (4 Replies)
Below script perfectly works, giving below mail output. BUT, I want to make the script mail only if there are any D-Defined/T-Transition/B-Broken State WPARs and also to copy the output generated during monitoring to a temporary log file, which gets cleaned up every week. Need suggestions.
... (4 Replies)
I ran the following command.
cat abc.c > abc.c
I got message the following message from command cat:
cat: abc.c : input file is same as the output file
How the command came to know of the destination file name as the command is sending output to standard file. (3 Replies)
Hi,
I have the following data:
This this DT 0.99955 0 4
is be VBZ 1 5 7
sentence sentence NN 0.916667 8 16
one one NN 0.545078 17 20
. . Fp 1 20 21
This this DT 0.99955 22 26
is be VBZ 1 27 29
the the DT 1 30 33
second 2 JJ 0.930556 34 40
sentence sentence NN 0.916667 41 49... (1 Reply)
HI,
I need to find out what are all the hard disks connected in my System on Solaris?
Also on my system when I ran the command prtconf, the following output is displayed.
sd (driver not attached)
st (driver not attached)
sd, instance #0 (driver not attached)
sd, instance... (1 Reply)
Discussion started by: rajujayanthy
1 Replies
LEARN ABOUT CENTOS
papi_enum_event
PAPI_enum_event(3) PAPI PAPI_enum_event(3)NAME
PAPI_enum_event -
Enumerate PAPI preset or native events.
SYNOPSIS Detailed Description
@par C Interface:
int PAPI_enum_event( int * EventCode, int modifer );
Given a preset or native event code, PAPI_enum_event replaces the event
code with the next available event in either the preset or native table.
The modifier argument affects which events are returned.
For all platforms and event types, a value of PAPI_ENUM_ALL (zero)
directs the function to return all possible events. @n
For preset events, a TRUE (non-zero) value currently directs the function
to return event codes only for PAPI preset events available on this platform.
This may change in the future.
For native events, the effect of the modifier argument is different on each platform.
See the discussion below for platform-specific definitions.
@param *EventCode
A defined preset or native event such as PAPI_TOT_INS.
@param modifier
Modifies the search logic. See below for full list.
For native events, each platform behaves differently.
See platform-specific documentation for details.
@retval PAPI_ENOEVNT
The next requested PAPI preset or native event is not available on
the underlying hardware.
@par Examples:
* // Scan for all supported native events on this platform
* printf( "Name Code Description0 );
* do {
* retval = PAPI_get_event_info( i, &info );
* if ( retval == PAPI_OK ) {
* printf( "%-30s 0x%-10x1s0, info.symbol, info.event_code, info.long_descr );
* }
* } while ( PAPI_enum_event( &i, PAPI_ENUM_ALL ) == PAPI_OK );
*
Generic Modifiers
The following values are implemented for preset events
o PAPI_ENUM_EVENTS -- Enumerate all (default)
o PAPI_ENUM_FIRST -- Enumerate first event (preset or native) preset/native chosen based on type of EventCode
Native Modifiers
The following values are implemented for native events
o PAPI_NTV_ENUM_UMASKS -- Given an event, iterate through possible umasks one at a time
o PAPI_NTV_ENUM_UMASK_COMBOS -- Given an event, iterate through all possible combinations of umasks. This is not implemented on
libpfm4.
Preset Modifiers
The following values are implemented for preset events
o PAPI_PRESET_ENUM_AVAIL -- enumerate only available presets
o PAPI_PRESET_ENUM_MSC -- Miscellaneous preset events
o PAPI_PRESET_ENUM_INS -- Instruction related preset events
o PAPI_PRESET_ENUM_IDL -- Stalled or Idle preset events
o PAPI_PRESET_ENUM_BR -- Branch related preset events
o PAPI_PRESET_ENUM_CND -- Conditional preset events
o PAPI_PRESET_ENUM_MEM -- Memory related preset events
o PAPI_PRESET_ENUM_CACH -- Cache related preset events
o PAPI_PRESET_ENUM_L1 -- L1 cache related preset events
o PAPI_PRESET_ENUM_L2 -- L2 cache related preset events
o PAPI_PRESET_ENUM_L3 -- L3 cache related preset events
o PAPI_PRESET_ENUM_TLB -- Translation Lookaside Buffer events
o PAPI_PRESET_ENUM_FP -- Floating Point related preset events
ITANIUM Modifiers
The following values are implemented for modifier on Itanium:
o PAPI_NTV_ENUM_IARR - Enumerate IAR (instruction address ranging) events
o PAPI_NTV_ENUM_DARR - Enumerate DAR (data address ranging) events
o PAPI_NTV_ENUM_OPCM - Enumerate OPC (opcode matching) events
o PAPI_NTV_ENUM_IEAR - Enumerate IEAR (instr event address register) events
o PAPI_NTV_ENUM_DEAR - Enumerate DEAR (data event address register) events
POWER Modifiers
The following values are implemented for POWER
o PAPI_NTV_ENUM_GROUPS - Enumerate groups to which an event belongs
See Also:
PAPI
PAPIF
PAPI_enum_cmp_event
PAPI_get_event_info
PAPI_event_name_to_code
PAPI_preset
PAPI_native
Author
Generated automatically by Doxygen for PAPI from the source code.
Version 5.2.0.0 Tue Jun 17 2014 PAPI_enum_event(3)