8 More Discussions You Might Find Interesting
1. Programming
Assume in 1.txt file ,i have saved 32
writer.c
-----------
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/shm.h>
#include <stdio.h>
#include<stdlib.h>
#include<fcntl.h>
int main(){
int shm_id;
key_t mem_key;
int *shm_ptr;
int fd=open("1.txt",O_CREAT|O_RDWR,0777);
mem_key =... (2 Replies)
Discussion started by: subi09
2 Replies
2. UNIX for Advanced & Expert Users
my server system is low on disk. To install a new kernel I think i shall do the following:
1. compile the kernel on another system.
2. copy bzImage along with config, System.map and of course the laodable module in /lib/modules and transfer them to the server.
3. Now, I can remove the... (0 Replies)
Discussion started by: dr_mabuse
0 Replies
3. UNIX for Dummies Questions & Answers
Looking for some clues on how to set my internal hard drives inaccessible/busy to clonezilla. Noprobe doesn't work in startup and the drive is still found.
I know I can find all hard drives using the following:
sudo fdisk -l | grep GB | awk '{print $2}' | grep -Po "^+(?=:?)"
I tried... (9 Replies)
Discussion started by: traustic
9 Replies
4. Shell Programming and Scripting
Hi .,
I have 3 records in a oracle table... wen i connect to oracle from unix environment and query the table i get some errors...
the script i used is
g=`sqlplus -s "username/password" << EOF
select column from table;
EOF`
if
then
echo $g
fi
The output i get... (1 Reply)
Discussion started by: cratercrabs
1 Replies
5. Shell Programming and Scripting
Hi Friends,
I am new to this , I am working on AIX system and my scenario is to retrive the files from remote system and remove the files from the remote system after retreving files. I can able to retrieve the files but Can't remove files in remote system. Please check my code and help me out... (3 Replies)
Discussion started by: vinayparakala
3 Replies
6. UNIX for Advanced & Expert Users
Hi,
Is there any inbuild tool or software through which we can take system image of any unix system?
Please suggest.
Regards,
Ravi D (9 Replies)
Discussion started by: dwiravi
9 Replies
7. Solaris
Hi All,
Please help me with this.
My plan is to create an ISO image of my current solaris 8 OS.Because we use a stripped out version of solaris 8 which is different than the standard one in CD. Will dd command will do ?
My idea is to create a VMware image from iso file and play it in... (6 Replies)
Discussion started by: Jartan
6 Replies
8. AIX
Hi, I am using AIX 5.3.0.0 and Ultrium LTO3 Tape Drive as rmt1. I have backup some of my database file using command "pax" as
pax -wvf /dev/rmt1 "./data01/abc.dmp"
But when I tried to read the file from tape by issuing the command,
pax -vf /dev/rmt1
The error message displayed as
pax:... (4 Replies)
Discussion started by: kwliew999
4 Replies