[Ilugc] time
Hi, ??? I was checking how much time for one my script takes.? I used 'time' command.? The output looks like, real??? 162m40.158s user??? 58m26.235s sys 2m35.222s Can i know what these three are?? Which is the total execution time, time excluding IO operations etc... Thanks, Arun Velusamy. ___ To unsubscribe, email [EMAIL PROTECTED] with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] Effect of strace
Hi, On Thu, May 22, 2008 at 10:44 AM, Deepak Pandian [EMAIL PROTECTED] wrote: I am wondered whether running a application with strace will make it behave differently. Forget strace. I have come across programs/device drivers that will stop working once you remove print{f|k}s added for debugging! Various delays can make a program work well. Is your program using a device driver you know might be faulty? Try GDB, my friend. Regards, -- Shuveb Hussain B I N A R Y K A R M A Chennai, India. Phone : +91 44-64621656 Mobile: +91 98403-80386 http://www.binarykarma.com ___ To unsubscribe, email [EMAIL PROTECTED] with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] time
On Thu, 22 May 2008 [EMAIL PROTECTED] wrote: I was checking how much time for one my script takes.? I used 'time' command.? The output looks like, Read man time OR info time Bye :) -- Bharathi S ___ To unsubscribe, email [EMAIL PROTECTED] with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
[Ilugc] One Day One GNU/Linux Command (SHUTDOWN)
One Day One GNU/Linux Command = Warning: Don't try this in the production/server machines. shutdown -- Bring the system down (Need Root privilege) Summary: shutdown brings the system down in a secure way. All logged-in users are notified that the system is going down, and login is blocked. All processes are 1st notified that the system is going down by the signal SIGTERM. Runlevel 0 is used to halt the system, runlevel 6 is used to reboot the system. Examples: # shutdown 12:00 -- Shutdown at 12:00 # shutdown +10 -- Shutdown after 10min # shutdown now -- Immediate shutdown (now == +0) # shutdown -t 10 -- Wait 10 Sec after warn the user # shutdown -k -- Don't really shutdown; only warn # shutdown -r -t 5 -- Reboot after shutdown # shutdown -h -t 5 -- Halt after shutdown # shutdown -f now -- Skip fsck (File System Check) on reboot # shutdown -F now -- Force fsck on reboot # shutdown -c -- Cancel the already waiting shutdown process. Read: man shutdown HTH :) -- Bharathi S ___ To unsubscribe, email [EMAIL PROTECTED] with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] tape drive configuration
Hi, It seems that the BIOS is not supporting this device . You might need to flash/upgrade the BIOS / some configuration needs to be done in the BIOS. Check with the H/W vendor. In the meantime, could you please tell me the Hardware Specification, BIOS Version, linux kernel, dmesg and, lspci output. Dhanasekar N ___ To unsubscribe, email [EMAIL PROTECTED] with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] time
real??? 162m40.158s Wall clock time - actual time elapsed user??? 58m26.235s Time the program spent computing. Or in so called 'user-space' sys 2m35.222s Time the kernel spent on the program, trying to do I/O, for example Thanks for the answer.? If my script takes 162m total time, out of which computing time is 58m and IO operation in 2m.? Then what might be the reasons that takes remaining 102m of my script time?? FYI, it is a perl script doing some report generation from data in mysql db. Thanks, Arun Velusamy. ___ To unsubscribe, email [EMAIL PROTECTED] with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] time
That will be the Waiting time since the processes are running in round-robin fashion and IO wait operations. ___ To unsubscribe, email [EMAIL PROTECTED] with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] tape drive configuration
Thanks for your reply. It seems that the BIOS is not supporting this device . You might need to flash/upgrade the BIOS / some configuration needs to be done in the BIOS. Check with the H/W vendor. Checked with the Hardware Vendor. That will not do any harm to the access of device they said. Error is only related to bootable state of that SCSI device. MPT Rom boot tries to boot from the device. But there is no bootable meduim or device is found. So its giving this error. In the meantime, could you please tell me the Hardware Specification, BIOS Version, linux kernel, dmesg and, lspci output. H/W specs: HP Proliant DL385 G2 Rack Server with HP Smart array p400/512MB BBWC Controller (RAID 5), 146GB x 4 HDD *Ultra320 SCSI Host Bus Adapter* *HP 1/8 Ultrium 448 G2 Tape Autoloader* lspci : 0c:08.0 SCSI storage controller: LSI Logic / Symbios Logic 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI (rev c1) dmesg (truncated): SCSI subsystem initialized HP CISS Driver (v 3.6.10) Fusion MPT base driver 3.04.01 Copyright (c) 1999-2005 LSI Logic Corporation Fusion MPT SPI Host driver 3.04.01 scsi0 : ioc0: LSI53C1030, FwRev=01032700h, Ports=1, MaxQ=255, IRQ=193 Vendor: HPModel: Ultrium 2-SCSIRev: S63W Type: Sequential-Access ANSI SCSI revision: 03 target0:0:4: Beginning Domain Validation target0:0:4: Domain Validation skipping write tests target0:0:4: Ending Domain Validation target0:0:4: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5 ns, offset 64) Vendor: HPModel: 1x8 G2 AUTOLDRRev: 1.70 Type: Medium Changer ANSI SCSI revision: 05 hda: ATAPI 24X DVD-ROM CD-R/RW drive, 1654kB Cache, UDMA(33) Uniform CD-ROM driver Revision: 3.20 SCSI Media Changer driver v0.25 ch0: type #1 (mt): 0x0+1 [medium transport] ch0: type #2 (st): 0x3e9+8 [storage] ch0: type #3 (ie): 0x0+0 [import/export] ch0: type #4 (dt): 0x1+1 [data transfer] ch0: dt 0x1: ID 4, LUN 0, name: HP Ultrium 2-SCSI S63W ch0: INITIALIZE ELEMENT STATUS, may take some time ... ch0: ... finished ch 0:0:4:1: Attached scsi changer ch0 Attempting manual resume kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. st: Version 20050830, fixed bufsize 32768, s/g segs 256 st 0:0:4:0: Attached scsi tape st0 st0: try direct i/o: yes (alignment 512 B) st 0:0:4:0: Attached scsi generic sg0 type 1 ch 0:0:4:1: Attached scsi generic sg1 type 8 -- Linux : Linux version 2.6.18-4-amd64 (Debian 2.6.18.dfsg.1-12) ([EMAIL PROTECTED]) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #1 SMP Mon Mar 26 19:17:44 UTC 2007 -- With Regards, Nahalingam N. Kanakavel. ___ To unsubscribe, email [EMAIL PROTECTED] with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] how to check Linux BLOCK size ?
On Thu, May 22, 2008 at 11:22 AM, Kapil Hari Paranjape [EMAIL PROTECTED] wrote: If the block device block size is what you want then the command is blockdev --getsize64 /dev/hda1 Here the answer is also in bytes for the device /dev/hda1. Note that block-devices usually (always?) work with a sector size of 512-bytes. Did you mean blockdev --getbsz /dev/hda1 ? Here is another trick. Don't know if it will always work. echo a test du -h test regards, Prasanna David ___ To unsubscribe, email [EMAIL PROTECTED] with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] how to check Linux BLOCK size ?
On Thu, May 22, 2008 at 2:09 PM, Prasanna David G [EMAIL PROTECTED] wrote: On Thu, May 22, 2008 at 11:22 AM, Kapil Hari Paranjape [EMAIL PROTECTED] wrote: If the block device block size is what you want then the command is blockdev --getsize64 /dev/hda1 Here the answer is also in bytes for the device /dev/hda1. Note that block-devices usually (always?) work with a sector size of 512-bytes. Did you mean blockdev --getbsz /dev/hda1 ? Here is another trick. Don't know if it will always work. echo a test du -h test regards, Prasanna David Sorry, I didn't notice that you have written device block size. Prasanna David ___ To unsubscribe, email [EMAIL PROTECTED] with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] Effect of strace
Hi, [EMAIL PROTECTED] wrote: Forget strace. I have come across programs/device drivers that will stop working once you remove print{f|k}s added for debugging! Various delays can make a program work well. Is your program using a device driver you know might be faulty? Try GDB, my friend. Thanks for the insight. I have identified and protected a race condition. Since I am running it on a 8 MB flash system couldnt afford gdb for it. Thanks Deepak ___ To unsubscribe, email [EMAIL PROTECTED] with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] RE: requirement for Open Source Web Designer, Web Developer in open web group
/me wonders if the omission of python was deliberate Certainly not, we didn't mentioned it, it mean not we omitted it. !! cheers Ravi Jaya ___ To unsubscribe, email [EMAIL PROTECTED] with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] Effect of strace
Hi, On Thu, May 22, 2008 at 2:40 PM, Deepak Pandian [EMAIL PROTECTED] wrote: Thanks for the insight. I have identified and protected a race condition. No problem. Glad to be of service. Since I am running it on a 8 MB flash system couldnt afford gdb for it. Although most of the time the target Flash is pretty restrictive, I usually have a separate, full fledged target filesystem with GDB et al, mounted over NFS. And when you have a filesystem with all the tools you need, you development time comes down unbelievably. My second preference would be to use gdb-server on the target and gdb itself on a less restrictive host. Regards, -- Shuveb Hussain B I N A R Y K A R M A Chennai, India. Phone : +91 44-64621656 Mobile: +91 98403-80386 http://www.binarykarma.com ___ To unsubscribe, email [EMAIL PROTECTED] with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] Re: Open Letter to Mammooty
On 22-May-08, at 9:44 AM, Praveen A wrote: Mammootty Fans and Welfare Association Microsoft are envisaging the Project. and apparently it has Mammootty's blessings (last para of reply). Maybe you need to write an open letter to Mammooty Fans Association showing how it is better to combat computer illiteracy using free software. -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/code/ ___ To unsubscribe, email [EMAIL PROTECTED] with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] RE: requirement for Open Source Web Designer, Web Developer in open web group
On Thu, May 22, 2008 at 2:56 PM, Ravi Jaya [EMAIL PROTECTED] wrote: /me wonders if the omission of python was deliberate Certainly not, we didn't mentioned it, it mean not we omitted it. !! Alright :) So I assume you'd also like to explore the Catalyst framework[1] for Perl and YUI[2] :) Cheers, -Suraj [1] http://catalystframework.org/ [2] http://developer.yahoo.com/yui/ -- http://sunson.in/ ___ To unsubscribe, email [EMAIL PROTECTED] with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
[Ilugc] Call for Developers - Chennailug.org
Hi All, thanks rohan that you pointed out about the chennailug.org spamming. we have revamped the our website chennailug.org year back i guess. I would like to get it revamped with fresh wiki pages and other contents. currently we have *1214* registered users List of To-Do 1. clean up wiki pages 2. Install spam control for wiki 3. Migrate CivicCRM Drupal to higher versions Drupal if possible(v5.x or v6) 4. Design new Look and Feel for the site 5. Designated people who can maintain about the chennailug events happening in chennai and update them on the site/wiki accordingly. Please let me know if any of you interested. What do i get by doing this? - you can add yourself in your profile that you are maintaining chennailug.org community site. - chennailug.org site will put up the list on the website. - you gain knowledge about drupal, civicCRM, wiki -- name balachandar muruganantham/name தமிழ்http://www.balachandar.net/pakkangal - எனது தமிழ் பக்கங்கள்/தமிழ் enhttp://beyondwork.wordpress.com//en ___ To unsubscribe, email [EMAIL PROTECTED] with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] Re: Open Letter to Mammooty
2008/5/22 Kenneth Gonsalves [EMAIL PROTECTED]: On 22-May-08, at 9:44 AM, Praveen A wrote: Mammootty Fans and Welfare Association Microsoft are envisaging the Project. and apparently it has Mammootty's blessings (last para of reply). Maybe you need to write an open letter to Mammooty Fans Association showing how it is better to combat computer illiteracy using free software. We got clarity of who is doing what. Now we have to talk to the Fans Association and we can even try to get Mammootty associated with Free Software if he is sincere about his committment to supporting causes for social welfare. -- പ്രവീണ് അരിമ്പ്രത്തൊടിയില് GPLv2 I know my rights; I want my phone call! DRM What use is a phone call, if you are unable to speak? (as seen on /.) Join The DRM Elimination Crew Now! http://fci.wikia.com/wiki/Anti-DRM-Campaign ___ To unsubscribe, email [EMAIL PROTECTED] with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] Call for Developers - Chennailug.org
On Thu, May 22, 2008 at 12:40 PM, balachandar muruganantham [EMAIL PROTECTED] wrote: Hi All, thanks rohan that you pointed out about the chennailug.org spamming. we have revamped the our website chennailug.org year back i guess. I would like to get it revamped with fresh wiki pages and other contents. currently we have *1214* registered users List of To-Do 1. clean up wiki pages 2. Install spam control for wiki 3. Migrate CivicCRM Drupal to higher versions Drupal if possible(v5.x or v6) 4. Design new Look and Feel for the site 5. Designated people who can maintain about the chennailug events happening in chennai and update them on the site/wiki accordingly. we here are to help you !! Ravi Jaya feel the flavour of freedom open web group ___ To unsubscribe, email [EMAIL PROTECTED] with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] resize / (ext3) with no LVM(2) - using fdisk and ext2online - possible?
Balu manyam wrote: i already used fdisk - deleted partition 2 - re-added the same with bigger size - and then saved with 'w' - i got the message that the kernel will obey the new part table from the next reboot - but that does not seem to be true - as it did not happen even after the reboot - I still see the old partition table Fdisk is not the right tool for it. It only changes the partition.. doesn't change the file system.. you will require a utility that can also dela with filesystem. Parted fits in well for your requirement. I havent tried using it before.. Was always lucky to have data on a LVM :). The man page says it is possible to extend space without destroying data.. My suggestion is to back-up data before trying this.. I haven tried it myself But in ur case you have already changed the partition.. so i am not sure how this will work.. best way would be to re-create the same partition with fdisk.. then use parted. how r u checking your filesystem size? df? df displays size based on fs properties.. so even if you have a larger partition without extending the filesystem.. that would be the case... to confirm check the /proc/ info for exact kernel status of the disks... i think i should be able to boot the machine off a CD and do this - but just curious if one can do this from a running OS and reboot if need be Partprobe should force your kernel to read your partition table without re-booting.. Never edit partitions for file systems which are already mounted. if normal data partitons no re-boot would be required.. if any of the system partitions are used, you will require rescue CD. Do let us know how u r about to burn ur hands. ;) Regards, Kiran. ___ To unsubscribe, email [EMAIL PROTECTED] with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
[Ilugc] my age in this list
dear admin, Shall i know my age in this age ? ie, when i joint this list ? thiagu ___ To unsubscribe, email [EMAIL PROTECTED] with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
[Ilugc] SimplyMEPIS , is suitable for Me
Dear All, few days back, while cleaning up my desktop, i got the old version of SimplyMepis [ 3.3.1 ] Year 2005 version. I just installed in 20 min , and i am really happy with its performance. i do not know How I missed it. This is suitable for School Students. This is what actually students are expecting at school level. thiagu ___ To unsubscribe, email [EMAIL PROTECTED] with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
[Ilugc] [OT] Old Computers, Rs. 14 /- per k.g.
Dear All As already informed about clearing very old computers from my school at salem, i have sold 286, 286, and 486 machines for Rs. 14/- per k.g. by next week , few PI, PII with 166 MHz, 233 MHz with 16MB , 32MB RAM will be sold [ for Rs. 16/- per k.g ? ] . Few members of this ILUGC contacted me, but all are pre occupied or having some practical difficulties. Since i am in Salem, Tamil Nadu., i can not send the machines to any other place , also , people who need these computer , may not come and get it [ no time and not cost effective ]. This is the fact, [ we talk about, re using old computers, give to Charity, Environmental Hazard etc.. , but the reality needs more planning and hardwork ] thiagu note : OR give me any other recomendations. ___ To unsubscribe, email [EMAIL PROTECTED] with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc