9 More Discussions You Might Find Interesting
1. Programming
I have an assignment in which a character is the input of which some bits(from a position to certain position) are to be inverted (1's complement) and then the resultant character is to be returned....for example
unsigned char x = J from p = 3 to offset n = 5
01001010 inverted to... (1 Reply)
Discussion started by: ezee
1 Replies
2. UNIX and Linux Applications
hi everyone,
We've generated mpstat.out file monitoring cpu utilization and the file is ready now.Wanted to generate graphical charts for the same output data.
Can anyone pleas suggest tool for the same.? (1 Reply)
Discussion started by: Kathraji
1 Replies
3. Programming
I am trying to implement the representation in the attached file.
class matriz {
private:
int fil,col;
int **filaspointer;
int *buffer;
public:
matriz();
matriz(int fil,int col);
... (3 Replies)
Discussion started by: lamachejo
3 Replies
4. Programming
I came across a puzzle which I can not explain. The setup is SCO OpenServer 5.7 (32 bit OS) and native SCO compiler. double is 8 bytes long on this system. I am able to populate the double variable with two different sets of values that produces the same double value, please see below:
#include... (7 Replies)
Discussion started by: migurus
7 Replies
5. Shell Programming and Scripting
Hi All,
I came across a situation where i saw a directory name given below:
drwxrwxrwx 5 121973 staff 8192 Apr 26 23:47 arunpr
Just for your info:
1. All our application user ids are LDAP.
2. Hence we will not see any details of user in /etc/passwd file and i believe this could... (6 Replies)
Discussion started by: Arunprasad
6 Replies
6. Shell Programming and Scripting
I must write a script to change all C++ like comments:
// this is a comment
to this one
/* this is a comment */
How to do it by sed? With file:
#include <cstdio>
using namespace std; //one
// two
int main() {
printf("Example"); // three
}//four
the result should be: (2 Replies)
Discussion started by: black_hawk
2 Replies
7. Shell Programming and Scripting
Hi!
What is the way to get the binary representation of a IEEE 754 (like 0001110110001111010101100111001011100100101010111101) without using perl. Bash for example, would be fine.
I need to put that representation in a string for some operation and then to put that string back in a float.
... (3 Replies)
Discussion started by: Zephyr
3 Replies
8. Infrastructure Monitoring
HI all,
I want to make a webpage showing the status of services running on a server. for example email, http , etc. That way users can see that server status for themselfs. Maybe even show the status of each virtual domain running on the server. Any way to do this without buying some product?
... (4 Replies)
Discussion started by: mcraul
4 Replies
9. Solaris
Hi All,
Can you please advise what the 't' letters stands for?
I understand the letter for the following "c1t1d0s2":
c = disk Controller
t = ?
d = disk number ID.
s = slice or partition of the disk
Thanks (2 Replies)
Discussion started by: tlee
2 Replies