06-17-2019
These 2 Users Gave Thanks to Neo For This Post:
8 More Discussions You Might Find Interesting
1. IP Networking
i have been in trouble please help me out
i have developed a message queue.it is a simple message queue program
after running it give error like NO SPACE LEFT ON DEVICE
what is this error
how could i solve this problem i am working on solaris9.2 (2 Replies)
Discussion started by: ramneek
2 Replies
2. UNIX for Dummies Questions & Answers
Hey,
As part of a Master's Degree program in Aeronautical Engineering I need a dedicated Unix PC to run a computational fluid dynamics (CFD) code in Fortran. Each run to model a single flow can take several days or weeks, so optimizing system resources is the only consideration. I need to buy... (1 Reply)
Discussion started by: John Bruzzese
1 Replies
3. OS X (Apple)
Hi,
I compiled with no error a C program, than I tryed to execute it and than I get this error:
connessione al server fallita: Address family not supported by protocol family
What does it mean?
Why I get this error only on Mac os x while on Ubuntu the program works?
The code is:... (3 Replies)
Discussion started by: DNAx86
3 Replies
4. Shell Programming and Scripting
hi friend i am facing problem in taking input from a file to the variable ..
read fname
if
then
cd $fname
pwd
ls > new_temp1
cat new_temp1
fi
terminal=`tty`
exec < $new_temp1
while read line
do
echo $line
done
exec < $terminal (2 Replies)
Discussion started by: newson
2 Replies
5. Shell Programming and Scripting
hello friends ........
i want to visit the directory recusvely through and shell script . and want to get the output of " stat " command for each file .i tried by this way but unable to visit the each file .
#!/bin/bash
echo "enter the file name"
read file
fun()
... (3 Replies)
Discussion started by: newson
3 Replies
6. What is on Your Mind?
As a mind refresher, I was thinking to start a new thread for ONE LINERS....funny/weird or any technical one liners....
Let me start first......
=================================
#!/bin/ssh
#The Unix Guru's View of Sex
unzip ; strip ; touch ; grep ; finger ; mount ; fsck ; more ; yes ;... (3 Replies)
Discussion started by: Rahulpict
3 Replies
7. What is on Your Mind?
This includes the time you spend reading threads, answering them and all the other activities at unix.com on an average for a week.
This poll is about your time with unix.com :b:
Poll and if possible just drop a short note about which part of the day you spend the most !!!
I hope this is... (32 Replies)
Discussion started by: matrixmadhan
32 Replies
8. Programming
Just finished a quick Python script to send the current unix time over to the Arduino from macOS, so in the absence of GPS or some other way to get the unix timestamp (epoch time) to the Arduino, I can get my macOS and Arduino UNO synced to within a second.
Normally, when the Arduino starts... (9 Replies)
Discussion started by: Neo
9 Replies
LEARN ABOUT CENTOS
libpfm_amd64_fam10h
LIBPFM(3) Linux Programmer's Manual LIBPFM(3)
NAME
libpfm_amd64_fam10h - support for AMD64 Family 10h processors
SYNOPSIS
#include <perfmon/pfmlib.h>
PMU name: amd64_fam10h_barcelona, amd64_fam10h_shanghai, amd64_fam10h_istanbul
PMU desc: AMD64 Fam10h Barcelona, AMD64 Fam10h Shanghai, AMD64 Fam10h Istanbul
DESCRIPTION
The library supports AMD Family 10h processors in both 32 and 64-bit modes. They correspond to processor family 16.
MODIFIERS
The following modifiers are supported on AMD64 Family 10h (16) processors:
u Measure at user level which includes privilege levels 1, 2, 3. This corresponds to PFM_PLM3. This is a boolean modifier.
k Measure at kernel level which includes privilege level 0. This corresponds to PFM_PLM0. This is a boolean modifier.
h Measure at while executing in host mode (when using virtualization). This corresponds to PFM_PLMH. This modifier is available
starting with Fam10h. This is a boolean modifier.
g Measure at while executing in guest mode (when using virtualization). This modifier is available starting with Fam10h. This is a
boolean modifier.
i Invert the meaning of the event. The counter will now count cycles in which the event is not occurring. This is a boolean modifier
e Enable edge detection, i.e., count only when there is a state transition. This is a boolean modifier.
c Set the counter mask value. The mask acts as a threshold. The counter will count the number of cycles in which the number of occur-
rences of the event is greater or equal to the threshold. This is an integer modifier with values in the range [0:255].
AUTHORS
Stephane Eranian <eranian@gmail.com>
Robert Richter <robert.richter@amd.com>
August, 2010 LIBPFM(3)