General :: Read Data From The Sosreport?
Feb 18, 2010how can i open the sosreport after generating it from the systemi need to know how to view the data inside it
View 1 Replieshow can i open the sosreport after generating it from the systemi need to know how to view the data inside it
View 1 RepliesI have an application where I am sending data via serial port from PC1 (Java App) and reading that data in PC2 (C++ App). The problem that I am facing is that my PC2 (C++ App) is not able to read complete data sent by PC1 i.e. from my PC1 I am sending 190 bytes but PC2 is able to read close to 140 bytes though I am trying to read in a loop.Below is code snippet of my C++ AppOpen the connection to serial port
Code:
serialfd = open( serialPortName.c_str(), O_RDWR | O_NOCTTY | O_NDELAY);
if (serialfd == -1)
[code]...
I am using read() in c++ to get data from a serial port. However, if no data is available on the serial port the function blocks until dta arrives.Example code:
//------------------------------------------------------------
char m_readBuffer[255] = {0};
char* p_curChar = m_readBuffer;
[code]...
Do we know of any utility that would read DIMM VPD data in the system? DIMMs on PCIe Card
View 3 Replies View RelatedI have some data files that should be distributed with my program. Using dist_pkgdata_DATA in Makefile.am, I get these files installed to /usr/local/data/share/package-name. The problem is that data is read-only, and my program needs to modify it. Playing with dist_sharedstate_DATA, dist_localstate_DATA, dist-data_DATA varibles, I got different installation directories, like /usr/local/com, usr/local/var, but data is always read-only.
How can I distribute modifiable data files with my package? I need some common directory for all users, or maybe local data in a user directory.
Im having xeltek eeprom programer but I cannot read the chip data on the buffer file, when I read the chip using programer the datas are being sent to the buffer I can just see the adress line ,hex line and ascii line then I dont know which is the exactly data ,
View 1 Replies View RelatedHow make, that disc be able to read and write data for all users? I have Ubuntu 9.
View 2 Replies View RelatedI wonder capability of awk to manipulate data in consecutive multi files by read one batch file.for example I have files: data1.dat, data2.dat,data3.dat and listfile.txt
cat data1.dat
23 34 54
43 45 76
[code]...
I'm having a slight dilemma on reading data from a text file and outputting it into a table then displaying it. Basically I'm writing a shell script that takes information from text files then outputs the data into a table with 4 headings.he extracting of the data is fine, but creating a table i'm having problems with. I think it is possible to do it using the awk function, but so far i'm having a lot of difficulties.
View 14 Replies View RelatedI was just reading about the whole boot process on computers and am curious as to why the BIOS can only read and execute code and data from only cylinder 0, track 0 and sector 1 of the disk being booted from? Why can't the BIOS read from any other disk location?
View 3 Replies View RelatedBefore running SOSreport, the free physical memory is 5389Mb out of 8Gb.
After running SOSreport, the free physical memory is 3229Mb.
Why is this so? how we can free up the physical memory.
I've been using Ubuntu 10.10 for just under a week. Recently, a partition called 'Data' has disappeared, and all my music and documents along with it. The folder is not to be seen in Places or on my desktop. My only way of finding it is to go to terminal. But when I try to open it there I get an error saying I don't have permission to read it. In Puppy Linux and SliTaz I can easily find the partition and read it. What should I do to bring it back in Ubuntu?
View 3 Replies View RelatedI have an Acer Laptop with a built-in Crystal Eye webcamwhich works (tested it with luvcview).The camera is represented by /dev/video0.I would like to read data from this device, but i don't manage to do it.
This code Code: #include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
[code]....
I need to read data from a socket but it should be always listening because data arrives continuously .. I thought something like this would do it but it doesn't work .... I already set the socket options before
Code: char databuf[1024];
int datalen = sizeof(databuf);
if(read(sd, databuf, datalen) < 0)
{
[Code]....
I have installed it and setup an apache conf. Nagios http page loads but shows errors on every sub-page.
Code:
Whoops!
Error: Could not read object configuration data!Here are some things you should check in order to resolve this error:
1. Verify configuration options using the -v command-line option to check for errors.
2. Check the Nagios log file for messages relating to startup or status data errors.
Make sure you read the documentation on installing, configuring and running Nagios thoroughly before continuing. If all else fails, try sending a message to one of the mailing lists. More information can be found at [URL]..Looking for some assistance, or better still PM me if you'd be willing to remote on and have a look for me.
I try to use open(2) system call, and I find one relevant flag: O_NOFOLLOW. But it will only return -1 rather than the symlink's file descriptor
View 5 Replies View RelatedI've written a usb device driver and a program that sends and receives data over the bulk pipe. The read function sometimes returnsI'm reading an unknown amount of data. However, using a usb tracker I can see that the correct data is being sent.The error only occurs sometimes.I expect that the read function is told to read more data that it receives it would fail and return -1, however if this was the case then every read call would fail.
View 4 Replies View Relatedi want to try with a small application in linu in that i want to read some data from controller using serial port and i wanna transfor that data to another meachin in the network for this i want serial port interfacing programming as well as socket programming.
View 1 Replies View RelatedI know there's a command to display the live amounts of data being written and read to the disk.Like, it tells you how many blocks have been read/written so far to a device
View 1 Replies View RelatedI am running ubuntu 8.10 on an old gateway as a server. I have vent up and running just fine. I went to configure the ventrilo_srv.ini file and now that I have made the changes, I need to restart the server program, which I am having problems doing. The following command returns the following:
sudo /home/taylor/ventrilo/ventsrv/ventrilo_srv restart
Ventrilo Server - Public - Version 3.0.3
(c)Copyright 1999-2008 Flagship Industries, Inc.
Unable to open configuration file 'ventrilo_srv.ini'.
ERROR: Unable to read configuration data. Exiting.
What am I doing wrong? Did I change something that shouldn't have been changed. I only set the name to something other than default and set the admin password.
I am writing a C program which reads data over serial port. While reading data, if I send my data(which is a 13 byte structure) periodic with a period of 1 second for 10 times I read it without problem and I read the data 10 times as I sent and as I expectBut if I send data continuousuly(without any time interval between each sending) 10 times I can only read 1 of them(I can only read it once).
View 11 Replies View RelatedI can read and write data dvds, but cannot play a regular dvd now. I have libdvdcss installed. I am running Slackware 64 13.37 (just installed).
Code:
MPlayer 20101218-4.5.1 (C) 2000-2010 MPlayer Team
Playing dvd://.
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdread: Could not open /dev/dvd with libdvdcss.
libdvdread: Can't open /dev/dvd for reading
[Code]...
It can see the drive is there and /dev/sr0 is linked to /dev/dvd and I tried running as root to check if it was a permissions problem but got the same thing.
I have tried lots of different DVDs in the drive, same issue. I even switched out my DVD drive to another old DVD-ROM I had laying around, same thing.
I am a total noob when it comes to opensuse. I just read the reviews and comments from forums taht's why I wanna try this alternative. I have 1 physical drive that has two partitions. 1 is dedicated for my windows OS (20 GB) and the other for my data (approx. 100GB).
How can I install opensuse 11.3 to just 1 partition (20GB) and leave my data partition (approx. 100GB) as it is? Can I still view/access/read the files from my data partition after I have successfully install opensuse 11.3 to my Os partition?
I'm having trouble with my optical drive (an LG GH22NP20).I can read a data DVD, but when I put in a standard audio CD it does not recognize it.I hear it spinning around in there, but if I check /media/ there are no files listed.?
View 4 Replies View RelatedNow i have a problem.I want to used a hid usb device under linux 2.6.11.But i can't know how to used ioctl function to send and receive data to a hid device
View 3 Replies View RelatedI am implementing a simple serial protocol where my ARM9 board, running Linux is communicating to a slave peripheral board. The Master sends a 12 byte data stream and the peripheral board returns status in a 23 byte response. The serial port is opened in raw mode. It works perfectly on 44 reads; however, on the 45 read the data returned from the read() is incorrect. I've framed what's being sent on an oscope and it is correct.The coincidence is that 23 x 44 = 1012. It's as though the receive buffer is 1K and when I go past the boundary I get bad data. The read following the bad one is good again.I've tried flushing the buffer before reading but get the same result.Here's the port initialization code:
Code:
int initport(int fd)
{
[code]...
I've created quite a predicament with my desktop installation and would prefer to be able to salvage it instead of having to reformat/re-install Ubuntu.
Quite a lot happened and here's my best recollection:
- My Ubuntu installation stopped working and I could not get the desktop to load.
- I backup up my entire home directory by creating a zip file along with other small zip files. I used Alt + Del + F1 to get the CLI to do this.
- I then did different things trying to get the desktop to load.
- I did a apt-get upgrade, to try and get it to work; this was not sucessful.
- Working through several dependency issues I finally got sudo apt-get ubuntu-desktop upgrade to work, but it did not finish completely. I started to get out of memory errors. I am assuming this was because too much hard drive space was taken up by the zip files I had created
-I could not boot and do anything properly after that. Every attempt to modify the filesystem (to free up space) results in an error "Read Only File System". The root file system was not being mounted and I would see root@none on the CL
- Looking on the boot loader I now have Ubuntu 9.10 2.6.24-generic installed
- I burnt a new installation of Ubuntu 10.4 LTS
- Using Live CD I tried to see if I could free up some space and get the system back to more stable state,
However this was NOT sucessful. I tried to mount my drive by sudo mount -t ext3 <dev> <dir> but I keep getting the following error: error while loading shared libraries: /lib/libsepol.so.1: cannot read file data: Input/output error
I want my samba to keep my windows attributes exactly what the user setted in windows I mean if it has read only file in win box and copy it to samba share ,samba keep it read only and same for other attributes but it does not do it now with my configuration:Quote:
[global]
workgroup = DOMAIN
server string = File Server
[code]...
A few months ago I have setup a server with three hard disks. The partition mapping the disks as follows:
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x7ca36fee
[code]....
Now I have the following problem the LVM file system don't mount properly.If I open the mount point I see only a few files of the LVM disk. If I want to unmount the disk I get the following error:
umount /data/
umount: /data/: not mounted
If I want to mount the volume I get the following error:
mount -a
mount: /dev/mapper/gegevens-Data already mounted or /data busy
I don't know the format of these old floppie disks, ive tried
Code:
PC8-248suse:~ # file -s /dev/fd0
/dev/fd0: ERROR: cannot read `/dev/fd0' (Input/output error)
how i can go about reading this data?