Programming :: Get Data Of A Windows System?
May 7, 2010
get data(like CPU Usage, Memory Usage) of a windows system through my Linux server.Because I want to monitor all the systems that are in my network. How to get data from a windows system into linux ?
View 8 Replies
ADVERTISEMENT
Mar 4, 2010
How can I do some socket programming using which I can send some data from a linux system to a windows system and vice versa. Can we do that using the IO:Socket:INET perl module??
View 10 Replies
View Related
Mar 24, 2011
I have a requirment where I have to store some data before the system goes to hibernate.
How the kernel intimates to the application when it goes to hibernate. Is there any event or a signal that kernel posts to all applications?
View 4 Replies
View Related
Jan 13, 2010
Will a Linux operating system lose data during a power failure as does a Windows operating system?
(If yes.) This has not come up before but I'm going to be doing some work I don't want to lose.
Could you either point me to a backup tutorial or give me the quick overview of preserving stuff with Ubuntu?
View 4 Replies
View Related
Jun 2, 2010
Is there an actual How-To or something like it about sharing data between linux system(s) and MS Windows XP?I do not think there is a golden path but maybe a list of possibilities and their pros and contras would be fine. As I understood there are different ways of sharing data (and so of setting the partitions)
1. Accessing the data of a MS Windows (NTFS) partition from a linux system (contra: possible data loss/data corruption?).
2. Accessing the data of a linux (ext3) partition form a Microsoft system (XP) (contra: possible data loss/data corruption?).
3. Sharing a data partition (FAT ?) (contra: problems with large files).
4. Visualization (contra1: If the main system gets broken, the guest is broken, too?; contra2: not so easy?; contra3: windows male ware in linux?).
I am thinking about reorganizing my hole system of sharing data and of partitions (including my NTFS partition for XP data and FAT partition for data shared with XP and linux).Now I am using mostly a FAT partition for sharing data but this seems to me not the way (for big files and especially because of data security).
I thought of making my /home partition bigger and use a windows program to get excess to ext3/ext4 from MS XP. I also thought of deleting my hole NTFS data partition and use only /home with document-folders etc. for each user / for the linux users and for the Mircosoft users. But this seems not so wise jet from I have read (at least not with an ext4 data partition):
[all variants] ext4 support on Windows XP - Ubuntu Forums
Ext2read - View ext2/3/4 partitions from Windows
View 7 Replies
View Related
Sep 2, 2009
how to backup both the system and the data from my Red Hat Server to a share on a windows SBS server where the regular network backup will take it off-site every night. The Red Hat Server is basically a web server on the LAN using RAID 1 to ensure some redundancy in the discs and is used as an internal web server for an administration system.
The Windows SBS server is the domain controller and rest of the network is totally windows based. The SBS server has large discs which host all of the general data to be backed up and is controlled by a 3rd party IT company. We have a share created on the SBS Server which is to backup all of the information from the Red Hat box to ensure we can potentially restore the system quickly in case of a major problem.
The thorn here is that I am working on a different site to the Red Hat Box and have to do everything over SSH. the Red Hat server has Samba running but I have not used it to mount an external windows share? Is there an 'out of the box' backup software on the Red Hat server that I can control over ssh to do the job? The biggest worry for me is the backing up the system to a state where it can be popped on a disc and the system restored from the backup - or most of it anyway - enough to get the server back on its legs.
View 2 Replies
View Related
Oct 7, 2010
i want to know how i can use data which is situated in windows hard disks on linux red hat 5 operting system. i m using dual boot concept and i have installed both windows and linux properly. 3 partition of hard disks are used in windows and one in linux. my data like songs are situated in one of the windows partition. now i want to know how i can use that data when i m working on linux.
View 1 Replies
View Related
Apr 3, 2010
Is it possible to store Windows-based documents and data (e.g, Excel spreadsheets, Access databases) on a Linux server, and easy to do so & to retrieve from a Windows client?
View 3 Replies
View Related
Apr 20, 2010
I want to know which backup tool is used in Linux to back up data from windows machine to linux machine, is amenda? Please guide me.
Also tell me where to download it from?
View 6 Replies
View Related
May 30, 2011
I'm trying to write a GUI text encryption application. I wrote the encryption system in a No GUI application like this::
[Code]...
Now I'm trying to write a GUI version, using the same algorithm. Here goes a rough image of my main window code. If you scroll down you'll observe a coloured part. As you see, the text in the first textbox gets copied into clipboard. That is the part where my encryption system should encrypt the data in the clipboard, and copy it again, and later on the new data will be pasted. How am I supposed to write that? If I have to use another signal, what is the receiver of that signal?
[Code]...
View 5 Replies
View Related
Apr 19, 2011
I am developing a program in a system where the Linux does not take care of the sync command automatically. So I have to run it from my application always I save some data in the disk, which in my case is a 2GB sdcard. It is true that I can make the operation system takes care of the syncronization, using a proper mount option, but in this case the programm's performance drops drastically. In particular I use the shelve module from Python to save data that comes from a socket/TCP connection and I have to deal with the potencial risk of the system being turned off suddenly Initially I wrote something like that to save data using shelve:
Code:
def saveData(vo)
fd = shelve.open( 'fileName' , 'c')
fd[ key ] = vo
fd.close()
os.system("sync")
But that takes too much time to save the data. Note that I use the sync from the OS every time I close a file to prevent data corruption in the case of the "computer" being turned off with data even in the buffer. To improve the performance I made something like that:
Code:
def saveListData( list )
fd = shelve.open('file_name', 'c')
for itemVo in list:
fd[itemVo.key] = itemVo
fd.close()
os.system("sync")
Thus, first I saved an amount of objects in a list then I open the file and save the objects. In this way I have to open the file just one time to save a lot of objects.However I would like to know if adding a lot of objects before closing the file would increase the risk of data corruption.I known that turning off the system after fd.close() and before os.sync may cause problems. But what about turning off the system after
Code:
fd = shelve.open('file_name', 'c')
but before fd.close()?
View 7 Replies
View Related
Jun 18, 2010
I have a problem : " bootmgr is missing" It occurs when I plug the SATA 1 TB(data stored with windows file system).
View 1 Replies
View Related
Jun 11, 2009
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]...
View 1 Replies
View Related
May 9, 2010
I 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.
View 1 Replies
View Related
Mar 1, 2011
Last week I installed Ubuntu 10.10 on my system in dual booting. I had installed succesfully both but unable to see data files from windows OS. Though I have excercised the options in various resources available on internet/blogs. System takes about 03 hrs during installation process. I am also unable to configure Thunderbird.
System hardware info is as -
System ManufacturerVIA Technologies, Inc.
System ModelKM266APro-835
System TypeX86-based PC
[code]....
View 8 Replies
View Related
Mar 4, 2011
I am trying to generic way to convert the string datatype to other primitive data type. To achieve, i used Template . But i getting error and couldn't resolve the issue and error reported is also clueless.
Code
====
#include <vector>
#include <iostream>
#include <string>
[Code].....
View 7 Replies
View Related
Jan 29, 2010
I'm just starting out on a project relating to web search, to be done in C++. Which library should I use to help with downloading web pages into memory so that I can process them? The big thing is I want to be able to download the pages into variables/structures without actually putting them onto the hard disk.I googled and saw libcurl, but I was confused by some of the examples and wondering if this was really what I wanted.
View 2 Replies
View Related
May 19, 2010
Anyone know some links where i can find about data structures using STL ?
View 4 Replies
View Related
Dec 3, 2008
have a tag in XML file in unix like this <EmailAddress>abc@gmail.com</EmailAddress> this tag is there for multiple times in the xml file and the data is in continuous line like below State>UN</State><Zip/><CompanyName/><EmailAddress>FDF@gmail.COM</EmailAddress><PromoType>UNKNOWN</PromoType></Promotion></PromotionList<State>UN</State><Zip/><CompanyName/><EmailAddress>zd4946@gmail.com</EmailAddress>I have to check the data in between bold tags is valid or not ... means have to check whether its a email address or not and have to find the length of the attribute means tag ...script is in kshsorry if its already asked...i checked but i didnt get Exatly matching result for my requirement
View 7 Replies
View Related
Aug 21, 2010
I'm trying to work out the best way to achieve the following.
1)php page that grabs data from a local database. (not a problem)
2)It then needs to send this data to a c program/service running on a remote server. (I probably need it to be able to handle 4+ million reocrds in an array)
3) The c service then needs to process the data and send it back to the initial php script that called it. i was hoping this could be in a an array like structure of some kind. 4)update the db with the results.
I was thinking of using gsoap to write a simple c soap service that php can communicate with. Would this be the right way of doing this or would something like sockets in php be a better way of sending this volume of data as an array or struct to linux c socket if thats even possible.
View 3 Replies
View Related
Mar 5, 2010
Here is what i want:I want to import from Windows XP all cookies and bookmarks i use in Firefox in to Suse.I can not start windows as the hard drive is damaged, i was able to copy the cookies and favorites as well other important data from Windows.The question is how to use this data in suse, can this be just copied into the Firefox directory?If possible what is the path to put all this info?
View 1 Replies
View Related
Oct 21, 2010
I had windows and ubuntu for some time, the other day I had an issue with (msconfig). The easiest way to fix it is to fresh install windows. So I wanted to boot into ubuntu, take my windows files and toss them onto a external drive. So this is were I need help. I have 3 hard drives, 2 internal and 1 external. The 2 internal drives are 2 500 gig WD's in raid0. I can not find out how to retrieve my data from these drives at all. I can get the partition manager to tell me I have them, but I can not find them anywhere let alone get data off. And I have my work for my 10 page research paper on there and I should be working on it but have not been able to retrieve the work and put it on my laptop.
View 5 Replies
View Related
May 6, 2011
I use Ubuntu 11.04 Natty Narwhal and my wife who is not an Ubuntu convert still uses Microsoft Windows. Recently her ageing PC stopped functioning and she bought a more powerful PC with Windows 7 as the OS. Unfortunately, most of her specialised work software refuses to run on Windows 7, but she still wants / requires access to retrieve information from the old drive which was running (past tense) Windows XP Professional up until recently. Because of her fear of breaking the warranty on her new shiny PC, she won't let me remove the casing and fit the old drive. So, the question is, if I fit her old drive into my Ubuntu machine would it harm either my PC or her hdd? Also, these new SATA drives have no jumper settings (slave/master etc). How do I set it up and how do I get the information from this hdd?
View 2 Replies
View Related
Dec 9, 2009
I' m using Mandriva 08 and windows 7 on my system. When i login to linux and try to copy data from linux drive to win drive or vice versa then it shows........
[root@lenovo mnt]# cp /home/simer/Desktop/*.avi win_e/
cp: cannot create regular file `win_e/xyz.avi': Read-only file system
cp: cannot create regular file `win_e/abc.avi': Read-only file system
I tried rsync, scp but didn't worked.
View 2 Replies
View Related
Jun 8, 2011
I have just foolishly used live media to install F14. Pre-upgrade of F13 to 14 repeatedly failed. Sadly I used the use all available space option rather than the free space. As a result I have a working FC14 system but no data from my F13 installation. Is there any way to restore my f13 system and/or data?
View 3 Replies
View Related
Apr 7, 2010
I am trying to create a RAID data drive for my system but I am having setting it up since I am a total linux noob.
The system has 3 physical HDD-s:
1. 320 GB (has functional Ubuntu 9.10 installation) attached to a PCI SATA card
2. 2TB on motherboard
3. 2TB on PCI SATA card
I want to create a software RAID1 of disks 2 and 3. So far I have used the Palimpsest Disk Utility:
- Created a GUID Partition table on both disks (2, 3)
- Used File -> New -> Software Array, made sure both my drives were included
- Once Palimpsest listed the RAID Drive as a Software RAID Array, I told it to create Ext3 filesystem on it
Well.. at least thats what I thought I did. At this point I have been able to mount the RAID drive and put files on it. However when I look at its information in Palimpsest, I am told that the drive is not partitioned. Both RAId components /dev/sda1 and /dev/sdc1 are reported to be in Sync, but the RAID Drive's own state is 'Running, Resyncing @ 45%' (and lowly growing).
My questions are: Is this a normal setup or did I do something incorrectly? Why is the drive reporting to have no partition? And howcome I can use it if it does not have a partition? I have found the command line based configurations to be a tad too confusing to follow, so I have tried to stick to graphical tools - is this a hopeless cause in Ubuntu or is it possible to achieve what I want to do without command line? I will list some info on my disks below - perhaps this offers more insight to those of you more familiar with Linux.
Code:
mindgamer@mind-server:~$ sudo lshw -C disk
[sudo] password for mindgamer:
*-disk:0
description: ATA Disk
product: WDC WD3200BEVT-0
vendor: Western Digital
[Code]...
View 7 Replies
View Related
Aug 23, 2010
My son's laptop with Ubuntu on went belly up, so before we dumped it I salvaged the hard disk.....now some weeks later he remembers there is some things he wants on the disk. Luckily I had done nothing with it ....have just connected the disk to my system I can see everything above(should that be below) home but not anything in his account. Any bright ideas for getting at his data is there a way of mass changing permissions or whatever?
View 3 Replies
View Related
Feb 7, 2011
I am looking for a way to see if it is possible to copy the system state of a system to another system.Is it possible to simply move the folder structure over to another machine, and have it work? Do I need any special partitions for /var, /home, etc?My machine is dying slowly, and I really want the quickest way to migrate the system over to the new system.
View 7 Replies
View Related
Sep 18, 2009
I was running CentOS 5 with VMware Server on top of it. The system died and I'm trying to recover the VM images. The system died with a 'end_request: I/O error, dev' type message. It looks to me like the 2nd partition is wonky - is that correct? The GRUB portion does boot. I pulled the drive out and plugged it into my Ubuntu box to see if could get to the files. I ran 'fdisk -l' and found:
--------------------------
Disk /dev/sdb: 400.0 GB, 400088457216 bytes
255 heads, 63 sectors/track, 48641 cylinders
[code]....
To me this shows the GRUB boot partition and the system drive - correct? Next I created a mount point and tried 'mount /dev/sdb2 /mnt/recover' At that point I get a
mount: unknown filesystem type 'LVM2_member'
Here's where I'm a bit lost. I believe I need to add filesystem support to my Ubuntu box. I've been looking but have yet to find something that says the default filesystem of CentOS 5 is <blah>. After I do find that info, how do I install the filesytem support to read the drive?
View 8 Replies
View Related
Mar 6, 2010
I build a new test machine where i need to bring data from live machine. the data is kind of flat files and some propreitary application axigen mail server.
now what i am suffering from, which commands to do first practise. there is remote site with 1mps speed of wireless between live and test machine. on daily basis aprox 14gb .tar.gz files it need to move it.
i found scp,rcp,rsync,sftp etc. which is fastest way to replicate or copy to remote machines.
the data is on live machine /var/opt/application and on remote same directory too /var/opt/application
i try using scp it take aprox 8-10 hours to copy single 14gb file.
if possible where to see such commands logs results, if anything get down error discontinue while copying.
View 3 Replies
View Related