Reputation
8,740
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
8 25
Newest
 Nice Answer
Impact
~591k people reached

7h
comment Limit cpu usage to one core
Each program only can run on a single core, unless it is multi threaded, which is unusual for scripts ( C/C++ programs, even even Java, are not scripts ).
12h
comment Limit cpu usage to one core
Why? If two of the scripts can run at the same time, and there are two cores that are idle, why would you not use them?
Jun
24
comment How do I forbid access to physical memory in Linux?
Umm... if the system memory map tells the kernel that isn't a valid address range, then it won't ever try to use it, at least barring some bug that is just as likely to just corrupt some other random, but valid ram and crash the system anyhow.
Jun
21
comment How to close all proceses without restarting a machine?
Runlevel 2 is multi-user and includes the gui... all higher runlevels are the same, at least on debian based distros. I believe on some other distros, 2 does not include the gui, but 3-5 are still all the same.
Jun
21
comment How to close all proceses without restarting a machine?
That does not kill processes; it simply removes them from the shell's job management so they continue to run in the background and will not be killed if you exit the shell.
Jun
14
comment Problems with partition table on 3tb NTFS drive
@ID-ZERO, looks like SystemRescueCD is broken then or you're using a very outdated version. Use the Ubuntu livecd.
Jun
11
comment How to recover ext2 if all superblocks are gone?
sounds like the disk capped out. Check the SMART health of the drive and/or dmesg for more detailed errors.
Jun
11
comment Recover VG after Adding Disks and Rebooting
You shouldn't need to restore anything for lvm... what has gone wrong is that you created the vg with a partition on the disk, and that partition is no longer there. Hopefully the lvm is all still there and you just need to bring back the missing partition.
Jun
10
comment Recover VG after Adding Disks and Rebooting
Partitions don't just disappear on their own.. you might try recreating the partition with fdisk and see if its contents are still intact ( the pv will show up in pvs and the lv should automatically activate ). Also if you just created one lv using the whole ( and only ) disk in the vg, it begs the question why did you use lvm in the first place?
Jun
10
comment mdadm refuses to add second identical disk to array
The new disk may have come with a stupid host protected area enabled which is why it is reporting a smaller size. Check with sudo hdparm -N /dev/sdc
Jun
7
comment What is actually the speed reported by dd?
/dev/md0 is a raid array, not your usb drive.
Jun
3
comment Where are filenames stored on a filesystem?
@StéphaneChazelas, the symlink itself simply contains another name that should be opened instead. The name lookup starts again on the new name, which ( if it exists at all ) is a directory entry somewhere.
May
27
comment Linux doesn't drop FS Caches. Instead Memory starts Swapping
@StephenKitt, yea, that question really doesn't have anything to do with this one.
May
27
comment Linux doesn't drop FS Caches. Instead Memory starts Swapping
Actually it is not a percentage at all; it is a weight that is compared to the weight of the page cache ( vfs_cache_pressure ) to determine whether to swap or reclaim cache whenever some memory is needed ( whether for an application or for caching newer file data ).
May
21
comment One disk in RAID setup high usage
Add the output of lsblk and/or mdadm -D on each of your raid devices to your question.
May
21
comment How to access dot directory
The same way you cd anywhere... by specifying its name!
May
18
comment directory structure vs file system
The "magic inode" number is specific to the ext2 series of filesystems. It does not apply to most ( all? ) others, such as xfs or btrfs.
May
18
comment Why are these files in an ext4 volume fragmented?
Each extent has a maximum of 32k blocks because that is the maximum length an extent descriptor can cover. Extents are not fragments. If you notice several of the extents' physical blocks immediately follow those of the previous extent, and so do not constitute a fragment ( 6 extents vs 3 fragments ).
May
18
comment Providing /bin and /lib inside a chroot jail
The intent of the question seems to be to provide access to the existing files rather than copying them into the chroot.
May
18
comment How do I use new fdisk table without reboot (kpartx)?
More recent versions of parted / partprobe will not give such an error and can be used on a mounted partition without reboot.