From shlomif at gmail.com Thu Nov 8 12:30:59 2018 From: shlomif at gmail.com (Shlomi Fish) Date: Thu, 8 Nov 2018 12:30:59 +0200 Subject: Book Offer: "CMake Cookbook" from Packt Message-ID: Hi all! I've been a beta reviewer of this book - https://www.packtpub.com/application-development/cmake-cookbook and can vouch for it being informative and correct. Now: 1. I received a paper copy of this book which I don't want nor need and will be happy to give it away to someone who will pick it up from my apartment in Ramat Aviv Gimmel, Tel Aviv. I'll even buy you a nice treat to eat. 2. I can provide a free/gratis ebook download of the book to several interested reviewers, in exchange for a review on Amazon.com/etc. If interested, please email me (possibly in private) your name and email address. Regards, -- Shlomi -- Shlomi Fish http://www.shlomifish.org/ You can never truly appreciate The Gilmore Girls until you've watched it in the original Klingon. Please reply to list if it's a mailing list post - http://shlom.in/reply . -------------- next part -------------- An HTML attachment was scrubbed... URL: From pub at goldshmidt.org Thu Nov 8 15:11:48 2018 From: pub at goldshmidt.org (Oleg Goldshmidt) Date: Thu, 08 Nov 2018 15:11:48 +0200 Subject: [JOB] TrapX Security is looking for a DevOps engineer Message-ID: <87efbvr9wr.fsf@goldshmidt.org> Hi all, TrapX Security (https://trapx.com) is looking for a DevOps engineer to join our team. If the job description below sounds like your cup of tea please send your CV to oleg (at) trapx.com (do not reply to this email). ========================================= Experience Level: Senior Employment Type: Full Time Location: Ramat Hahayal, Tel Aviv, Israel Responsibilities: * Build and maintain tools, processes, and methodologies to support product delivery lifecycle, software configuration management (git), continuous build and integration. * Develop and maintain system components of the product, including software intsallation and updates and the associated infrastructure. * Develop and maintain development and production cloud infrastructure (AWS, GCP, Azure, OpenStack, etc.), including packaging the product components for the respective marketplaces. * Troubleshoot production issues and customer-facing incidents. * Effectively communicate with fellow team members, R&D, QA, Support teams. Applicable Skills : * Solid Linux systems and network administration experience (experience with Ubuntu/Debian - an advantage). * Excellent scripting abilities in Bash and Python - a must. 5+ years of experience automating operations and engineering tasks with scripting languages. * Operational excellence through tool development, monitoring, logging, reporting, controls, and automation. * Experience building cloud infrastructure using platforms such as AWS, Azure, GCP, VMware, OpenStack. * Experience running mission-critical Linux servers in virtualized environments. * Solid understanding of TCP/IP networking concepts and major protocols. * Solid understanding of security concepts (network, OS, applications). * Strong technical foundation in virtualization technologies, including at least some of VMware, KVM, Hyper-V. * Ability to build, monitor, and tune production servers and services. * Ability to work individually and in small teams. * Bachelor's degree in Computer Science or related field - advantage. -- Oleg Goldshmidt | pub at goldshmidt.org From shlomif at gmail.com Sat Nov 10 22:49:46 2018 From: shlomif at gmail.com (Shlomi Fish) Date: Sat, 10 Nov 2018 22:49:46 +0200 Subject: Fwd: [ANN] Freecell Solver 5.0.0 was Released In-Reply-To: <20181027211754.71ca889a@telaviv1.shlomifish.org> References: <20181027211754.71ca889a@telaviv1.shlomifish.org> Message-ID: ---------- Forwarded message --------- From: Shlomi Fish Date: Sat, Oct 27, 2018 at 9:17 PM Subject: [ANN] Freecell Solver 5.0.0 was Released To: Freecell Solving Discussions Cc: Shlomi Fish Hi all, Freecell Solver version 5.0.0 was released and can be downloaded from its homepage at http://fc-solve.shlomifish.org/ . Freecell Solver is a reusable and open-source (MIT/Expat-licensed) library, written in portable C11 with some GCCisms (32-bit/64-bit, UNIX/Linux and MS Windows), that can automatically solve the Solitaire game Freecell and some similar Solitaire variants. The Freecell Solver distribution also includes some standalone command-line programs that make use of the library. Freecell Solver has a large amount of features, supports many different run-time heuristics that may yield different solutions, is a fast solver, and supports the largest number of Solitaire variants of all other solvers of its kind. The new release has some new features, some hopefully minor breakages and some cleanups. More information can be found in the NEWS.asciidoc / NEWS.html ( http://fc-solve.shlomifish.org/docs/distro/NEWS.html ), quoted below. Regards, ? Shlomi Fish Version 5.0.0: (27-Oct-2018) ---------------------------- 1. *Breaking change*: made the userland headers +fcs_user.h+, +fcs_cl.h+, etc. includable only as +#include +. The API and ABI should otherwise remain the same. 2. Add the gen-multiple-pysol-layouts executable to generate several numbered deals as separate files. 3. Added the experimental fc-solve-multi solver to solve several files in one go (not installed by default). 4. Rename the AsciiDoc documents from +\*.txt+ to +\*.asciidoc+, in order to please GitHub/etc. ; updated them and fixed some formatting. -- ----------------------------------------------------------------- Shlomi Fish http://www.shlomifish.org/ Selina Mandrake - The Slayer (Buffy parody) - http://shlom.in/selina Summer Glau gave Richard III a horse free-of-charge and let him keep his kingdom for himself. ? http://www.shlomifish.org/humour/bits/facts/Summer-Glau/ Please reply to list if it's a mailing list post - http://shlom.in/reply . -- Shlomi Fish http://www.shlomifish.org/ You can never truly appreciate The Gilmore Girls until you've watched it in the original Klingon. Please reply to list if it's a mailing list post - http://shlom.in/reply . -------------- next part -------------- An HTML attachment was scrubbed... URL: From vordoo at yahoo.com Sun Nov 11 13:25:14 2018 From: vordoo at yahoo.com (vordoo) Date: Sun, 11 Nov 2018 13:25:14 +0200 Subject: English Hebrew dictionary. Message-ID: <60eae190-63ae-d378-f374-0a1c8a261241@yahoo.com> An HTML attachment was scrubbed... URL: From boruch_baum at gmx.com Sun Nov 11 14:18:46 2018 From: boruch_baum at gmx.com (Boruch Baum) Date: Sun, 11 Nov 2018 07:18:46 -0500 Subject: English Hebrew dictionary. In-Reply-To: <60eae190-63ae-d378-f374-0a1c8a261241@yahoo.com> References: <60eae190-63ae-d378-f374-0a1c8a261241@yahoo.com> Message-ID: <20181111121846.iiuipdjm2ztviyd6@E15-2016.optimum.net> On 2018-11-11 13:25, vordoo wrote: > Hi, > Looking for an English Hebrew technical-computer dictionary. Best if it > is a web site or file, with words like: mount, volume, partition, > sector, block, etc... > Any pointers appreciated, > Thanks! Hmm, can't find my favorite word-list site among my zillion bookmarks, but... 1) For individual word, I just now found: http://tlterm.com/hebrew/ which seems reasonable. 2) The Hebrew Academy of language is the Israeli official organization for standardizing modern Hebrew: http://hanut.hebrew-academy.org.il/en/product-category/dictionaries/ They have mailing list on which you could pose your question. If you do, please let me know what happened! -- hkp://keys.gnupg.net CA45 09B5 5351 7C11 A9D1 7286 0036 9E45 1595 8BC0 From joshroden at gmail.com Sun Nov 11 16:36:58 2018 From: joshroden at gmail.com (Josh Roden) Date: Sun, 11 Nov 2018 16:36:58 +0200 Subject: Memory consumption on a per user basis Message-ID: Hi everyone I have a CentOS 6 machine used by around 20 to 30 students at a time and I need to do one of two things: 1. find and kill top memory user with script 2. limit memory usage Using cgroups, I have successfully limited memory usage to about 1.5 cpu's max (per user) out of 16 but evidently I have had less success with memory hogs. I understand that memory is a bit complicated to compute because of shared memory etc. but I need to make the 32G of physical memory go around more evenly. Would appreciate any ideas. Thanks, Josh -------------- next part -------------- An HTML attachment was scrubbed... URL: From boruch_baum at gmx.com Sun Nov 11 17:16:07 2018 From: boruch_baum at gmx.com (Boruch Baum) Date: Sun, 11 Nov 2018 10:16:07 -0500 Subject: Memory consumption on a per user basis In-Reply-To: References: Message-ID: <20181111151607.rqhhgm32mb72r2cb@E15-2016.optimum.net> On 2018-11-11 16:36, Josh Roden wrote: > Hi everyone > I have a CentOS 6 machine used by around 20 to 30 students > at a time and I need to do one of two things: > 1. find and kill top memory user with script You can use 'smem'[1] to ferret out the process hogging the most memory by as computed by 'proportional set size'[2]. A basic command to retrieve the worst offending PID would be: smem -c pid | tail -n1 How about this for a simple script?: NAUGHTY="$(smem -c pid | tail -n1)" for SIG in 15 15 15 9 9 do kill -$SIG $NAUGHTY printf "Sending signal $SIG to process $NAUGHTY\n" sleep 1 ps -$naughty || exit printf "Process $NAUGHTY is Still alive\n" done [1] https://www.selenic.com/smem/ [2] https://en.wikipedia.org/wiki/Proportional_set_size -- hkp://keys.gnupg.net CA45 09B5 5351 7C11 A9D1 7286 0036 9E45 1595 8BC0 From const at makelinux.co.il Sun Nov 11 17:26:06 2018 From: const at makelinux.co.il (Constantine Shulyupin) Date: Sun, 11 Nov 2018 17:26:06 +0200 Subject: Memory consumption on a per user basis In-Reply-To: References: Message-ID: I am using this bash functions for years: https://gitlab.com/makelinux/lib/blob/master/snippets/load-watch.md It kills processes accordingly load average, cpu and memory usage. OOM killer is less efficient. On Sun, Nov 11, 2018 at 4:37 PM Josh Roden wrote: > > Hi everyone > I have a CentOS 6 machine used by around 20 to 30 students > at a time and I need to do one of two things: > 1. find and kill top memory user with script > 2. limit memory usage > > Using cgroups, I have successfully limited memory usage to about 1.5 cpu's > max (per user) out of 16 but evidently I have had less success with memory hogs. > I understand that memory is a bit complicated to compute because of shared > memory etc. but I need to make the 32G of physical memory go around more > evenly. > Would appreciate any ideas. > Thanks, > Josh > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il -- Constantine Shulyupin http://www.MakeLinux.co.il/ Embedded Linux Systems Tel Aviv From boruch_baum at gmx.com Sun Nov 11 17:33:53 2018 From: boruch_baum at gmx.com (Boruch Baum) Date: Sun, 11 Nov 2018 10:33:53 -0500 Subject: Memory consumption on a per user basis [FOLLOW-UP] In-Reply-To: <20181111151607.rqhhgm32mb72r2cb@E15-2016.optimum.net> References: <20181111151607.rqhhgm32mb72r2cb@E15-2016.optimum.net> Message-ID: <20181111153353.zcjrkwckx2tzx6gv@E15-2016.optimum.net> I hit _send_ to quickly... The simple script that I proposed suffers from the problem that it would kill one of your own processes if you are the offending user, ont one of your students; likewise, it would blithely kill a system process, or an essential cronjob, or a server. You can modify the 'smem' command to use its 'user filter' option (see the man page) to come up with a regex to limit its output to just those users whose processes you are comfortable killing. The regex can be as simple as (user1)|(user2)|...|(usern) ; I don't see how to use UID numbers, but it might be possible. smem -U "$YOUR_REGEX" -c pid | tail -n1 On 2018-11-11 10:16, Boruch Baum wrote: > NAUGHTY="$(smem -c pid | tail -n1)" smem -U "$YOUR_REGEX" -c pid if [ -z "$NAUGHTY" ] ; then printf "The guilty party isn't one of the students... its $(smem |tail -n1)\n" exit fi > for SIG in 15 15 15 9 9 > do > kill -$SIG $NAUGHTY > printf "Sending signal $SIG to process $NAUGHTY\n" > sleep 1 > ps -$naughty || exit > printf "Process $NAUGHTY is Still alive\n" > done > > > [1] https://www.selenic.com/smem/ > [2] https://en.wikipedia.org/wiki/Proportional_set_size -- hkp://keys.gnupg.net CA45 09B5 5351 7C11 A9D1 7286 0036 9E45 1595 8BC0 From boruch_baum at gmx.com Sun Nov 11 17:47:09 2018 From: boruch_baum at gmx.com (Boruch Baum) Date: Sun, 11 Nov 2018 10:47:09 -0500 Subject: Memory consumption on a per user basis In-Reply-To: References: Message-ID: <20181111154709.ka5p43edob3r5sns@E15-2016.optimum.net> On 2018-11-11 17:26, Constantine Shulyupin wrote: > I am using this bash functions for years: > https://gitlab.com/makelinux/lib/blob/master/snippets/load-watch.md AAARGH! OH NO! It's gitlab! I have a quasi- pet-peeve against gitlab because of its needless javascript and XHR requirements. Just in order to simply _view_ your script, I needed to to use a GUI browser (instead of a text browser), and to allow nine separate javascript elements from two separate source to do whatever mysterious things they want to try doing. Even then, all that wasn't enough - I needed to further allow two more XML requests. I encourage anyone open to listening to avoid using gitlab and other sites / packages that have similar attitudes to javascript. end rant; I feel better now. -- hkp://keys.gnupg.net CA45 09B5 5351 7C11 A9D1 7286 0036 9E45 1595 8BC0 From mkriheli at gmail.com Sun Nov 11 18:03:34 2018 From: mkriheli at gmail.com (Meir Kriheli) Date: Sun, 11 Nov 2018 18:03:34 +0200 Subject: Memory consumption on a per user basis In-Reply-To: <20181111154709.ka5p43edob3r5sns@E15-2016.optimum.net> References: <20181111154709.ka5p43edob3r5sns@E15-2016.optimum.net> Message-ID: On Sun, Nov 11, 2018 at 5:48 PM Boruch Baum wrote: > On 2018-11-11 17:26, Constantine Shulyupin wrote: > > I am using this bash functions for years: > > https://gitlab.com/makelinux/lib/blob/master/snippets/load-watch.md > > AAARGH! OH NO! It's gitlab! > > I have a quasi- pet-peeve against gitlab because of its needless > javascript and XHR requirements. Just in order to simply _view_ your > script, I needed to to use a GUI browser (instead of a text browser), > and to allow nine separate javascript elements from two separate source > to do whatever mysterious things they want to try doing. Even then, > all that wasn't enough - I needed to further allow two more XML > requests. > > I encourage anyone open to listening to avoid using gitlab and other > sites / packages that have similar attitudes to javascript. > > end rant; I feel better now. > Use the "raw" url: curl 'https://gitlab.com/makelinux/lib/raw/master/snippets/load-watch.md' > -- > hkp://keys.gnupg.net > CA45 09B5 5351 7C11 A9D1 7286 0036 9E45 1595 8BC0 > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > -- Meir Kriheli http://meirkriheli.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From const at makelinux.co.il Sun Nov 11 18:25:14 2018 From: const at makelinux.co.il (Constantine Shulyupin) Date: Sun, 11 Nov 2018 18:25:14 +0200 Subject: Memory consumption on a per user basis In-Reply-To: <20181111154709.ka5p43edob3r5sns@E15-2016.optimum.net> References: <20181111154709.ka5p43edob3r5sns@E15-2016.optimum.net> Message-ID: github mirror: https://github.com/makelinux/lib/blob/master/snippets/load-watch.md On Sun, Nov 11, 2018 at 5:47 PM Boruch Baum wrote: > > On 2018-11-11 17:26, Constantine Shulyupin wrote: > > I am using this bash functions for years: > > https://gitlab.com/makelinux/lib/blob/master/snippets/load-watch.md > > AAARGH! OH NO! It's gitlab! > > I have a quasi- pet-peeve against gitlab because of its needless > javascript and XHR requirements. Just in order to simply _view_ your > script, I needed to to use a GUI browser (instead of a text browser), > and to allow nine separate javascript elements from two separate source > to do whatever mysterious things they want to try doing. Even then, > all that wasn't enough - I needed to further allow two more XML > requests. > > I encourage anyone open to listening to avoid using gitlab and other > sites / packages that have similar attitudes to javascript. > > end rant; I feel better now. > > -- > hkp://keys.gnupg.net > CA45 09B5 5351 7C11 A9D1 7286 0036 9E45 1595 8BC0 -- Constantine Shulyupin http://www.MakeLinux.co.il/ Embedded Linux Systems Tel Aviv From boruch_baum at gmx.com Sun Nov 11 18:29:24 2018 From: boruch_baum at gmx.com (Boruch Baum) Date: Sun, 11 Nov 2018 11:29:24 -0500 Subject: Memory consumption on a per user basis In-Reply-To: References: <20181111154709.ka5p43edob3r5sns@E15-2016.optimum.net> Message-ID: <20181111162924.kzutcy6skglwomkx@E15-2016.optimum.net> On 2018-11-11 18:03, Meir Kriheli wrote: > On Sun, Nov 11, 2018 at 5:48 PM Boruch Baum <[1]boruch_baum at gmx.com> > wrote: > > I have a quasi- pet-peeve against gitlab because of its needless > javascript and XHR requirements. > > Use the "raw" url: > curl > '[3]https://gitlab.com/makelinux/lib/raw/master/snippets/load-watch.md' Thanks, Meir. Generically, my peeve does still remain, because I would either need to remember to always manually edit urls s,/blob/,/raw/, s,$,.md, or write an extension to do it for me. Even so, it wouldn't help for browsing a repository hosted there, or effectively navigating the site. Good tip to remember though for when I'm not able to use X11. -- hkp://keys.gnupg.net CA45 09B5 5351 7C11 A9D1 7286 0036 9E45 1595 8BC0 From boruch_baum at gmx.com Sun Nov 11 18:39:58 2018 From: boruch_baum at gmx.com (Boruch Baum) Date: Sun, 11 Nov 2018 11:39:58 -0500 Subject: Memory consumption on a per user basis In-Reply-To: References: <20181111154709.ka5p43edob3r5sns@E15-2016.optimum.net> Message-ID: <20181111163958.wi64hmif7oj6w6m4@E15-2016.optimum.net> Appreciated. On 2018-11-11 18:25, Constantine Shulyupin wrote: > github mirror: > https://github.com/makelinux/lib/blob/master/snippets/load-watch.md -- hkp://keys.gnupg.net CA45 09B5 5351 7C11 A9D1 7286 0036 9E45 1595 8BC0 From vordoo at yahoo.com Mon Nov 12 09:32:14 2018 From: vordoo at yahoo.com (vordoo) Date: Mon, 12 Nov 2018 09:32:14 +0200 Subject: English Hebrew dictionary. In-Reply-To: <20181111121846.iiuipdjm2ztviyd6@E15-2016.optimum.net> References: <60eae190-63ae-d378-f374-0a1c8a261241@yahoo.com> <20181111121846.iiuipdjm2ztviyd6@E15-2016.optimum.net> Message-ID: <68078a77-9288-4ca7-bcae-8b9a0f10e7f9@yahoo.com> An HTML attachment was scrubbed... URL: From eli at netmask.it Mon Nov 12 10:44:53 2018 From: eli at netmask.it (Eli Marmor) Date: Mon, 12 Nov 2018 10:44:53 +0200 Subject: English Hebrew dictionary. In-Reply-To: <20181111121846.iiuipdjm2ztviyd6@E15-2016.optimum.net> References: <60eae190-63ae-d378-f374-0a1c8a261241@yahoo.com> <20181111121846.iiuipdjm2ztviyd6@E15-2016.optimum.net> Message-ID: ?? ?? ???? ?????? ???, ?????? ????? ?????????? ????? ?? ????? ??????? ????, ??????? ?? ?? ???? ????-??????? ????? ??? (?????: ??? ???? ??????????? ?? ???? ?-90 ???? ?? ????? ??): http://elmar.co.il/wwh/wwh/lexicons/microsoft/index.he.html ?? ???? ?? ????????? ?????, ?? ????? ?????? ??? ???? ?? ?? ??? ??????? ???? ????. ?? ??? ??? 5400 ??????, ??????? ?? ????? ????? (????-?????). On Sun, Nov 11, 2018 at 2:19 PM Boruch Baum wrote: > > On 2018-11-11 13:25, vordoo wrote: > > Hi, > > Looking for an English Hebrew technical-computer dictionary. Best if > it > > is a web site or file, with words like: mount, volume, partition, > > sector, block, etc... > > Any pointers appreciated, > > Thanks! > > Hmm, can't find my favorite word-list site among my zillion bookmarks, > but... > > 1) For individual word, I just now found: http://tlterm.com/hebrew/ > which seems reasonable. > > 2) The Hebrew Academy of language is the Israeli official organization > for standardizing modern Hebrew: > http://hanut.hebrew-academy.org.il/en/product-category/dictionaries/ > They have mailing list on which you could pose your question. If you do, > please let me know what happened! > > > -- > hkp://keys.gnupg.net > CA45 09B5 5351 7C11 A9D1 7286 0036 9E45 1595 8BC0 > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > -------------- next part -------------- An HTML attachment was scrubbed... URL: From boruch_baum at gmx.com Mon Nov 12 15:21:34 2018 From: boruch_baum at gmx.com (Boruch Baum) Date: Mon, 12 Nov 2018 08:21:34 -0500 Subject: English Hebrew dictionary. In-Reply-To: References: <60eae190-63ae-d378-f374-0a1c8a261241@yahoo.com> <20181111121846.iiuipdjm2ztviyd6@E15-2016.optimum.net> Message-ID: <20181112132134.mgbi2li5ebt75hbi@E15-2016.optimum.net> On 2018-11-12 10:44, Eli Marmor wrote: > ?? ?? ???? ?????? ???, ?????? ????? ?????????? ????? ?? ????? ??????? > ????, ??????? ?? ?? ???? ????-??????? ????? ??? (?????: ??? ???? > ??????????? ?? ???? ?-90 ???? ?? ????? ??): > [1]http://elmar.co.il/wwh/wwh/lexicons/microsoft/index.he.html ?????, ????! -- hkp://keys.gnupg.net CA45 09B5 5351 7C11 A9D1 7286 0036 9E45 1595 8BC0 From mkriheli at gmail.com Mon Nov 12 16:41:43 2018 From: mkriheli at gmail.com (Meir Kriheli) Date: Mon, 12 Nov 2018 16:41:43 +0200 Subject: English Hebrew dictionary. In-Reply-To: <20181111121846.iiuipdjm2ztviyd6@E15-2016.optimum.net> References: <60eae190-63ae-d378-f374-0a1c8a261241@yahoo.com> <20181111121846.iiuipdjm2ztviyd6@E15-2016.optimum.net> Message-ID: On Sun, Nov 11, 2018 at 2:19 PM Boruch Baum wrote: > > On 2018-11-11 13:25, vordoo wrote: > > Hi, > > Looking for an English Hebrew technical-computer dictionary. Best if > it > > is a web site or file, with words like: mount, volume, partition, > > sector, block, etc... > > Any pointers appreciated, > > Thanks! > > Hmm, can't find my favorite word-list site among my zillion bookmarks, > but... > > 1) For individual word, I just now found: http://tlterm.com/hebrew/ > which seems reasonable. > > 2) The Hebrew Academy of language is the Israeli official organization > for standardizing modern Hebrew: > http://hanut.hebrew-academy.org.il/en/product-category/dictionaries/ > They have mailing list on which you could pose your question. If you do, > please let me know what happened! > > > -- > hkp://keys.gnupg.net > CA45 09B5 5351 7C11 A9D1 7286 0036 9E45 1595 8BC0 > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > We also had Carmel: http://carmel.whatsup.org.il/he/ See "about" page for more info: http://carmel.whatsup.org.il/he/about/ Cheers -- Meir Kriheli http://meirkriheli.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From vordoo at yahoo.com Tue Nov 13 11:24:42 2018 From: vordoo at yahoo.com (vordoo) Date: Tue, 13 Nov 2018 11:24:42 +0200 Subject: English Hebrew dictionary. In-Reply-To: <20181111121846.iiuipdjm2ztviyd6@E15-2016.optimum.net> References: <60eae190-63ae-d378-f374-0a1c8a261241@yahoo.com> <20181111121846.iiuipdjm2ztviyd6@E15-2016.optimum.net> Message-ID: An HTML attachment was scrubbed... URL: From geoffreymendelson at gmail.com Sun Nov 18 20:13:46 2018 From: geoffreymendelson at gmail.com (Geoffrey Mendelson) Date: Sun, 18 Nov 2018 20:13:46 +0200 Subject: how to copy an ubuntu system disk containing a logical volume. Message-ID: I have an Ubuntu 15.10 system. When I installed it, it defaulted to a regular ext(something) boot partition, and an lvm partition with everything else on it. There now is a bad spot in the lvm partition. fsck with a read check does not find it. I have moved enough data off of it, so it wont show up in a file copy. I will have a new drive tomorrow, intended to replace the old one. The old one is 300 gig, the new one is 1tb. Normally, I would just partition it, make both file systems ext4, copy the files and run grub. The lvm volume is something I dont understand. If there a diskcopy type utility that would do all the work for me? Is there a howto? Can I just make the root an ext4 partition on the new disk and skip the lvm? What would I have to change? I assume grub.conf and /etc/fstab. Anything else? TIA Geoff -- >From my tablet please pardon mistakes and lack of replies. Geoffrey Mendelson 4X1GM/N3OWJ Jerusalem Israel -------------- next part -------------- An HTML attachment was scrubbed... URL: From rabin at rabin.io Sun Nov 18 21:25:30 2018 From: rabin at rabin.io (Rabin Yasharzadehe) Date: Sun, 18 Nov 2018 21:25:30 +0200 Subject: how to copy an ubuntu system disk containing a logical volume. In-Reply-To: References: Message-ID: I won't give up on LVM yet, it's a very useful technology to have and use (snapshots is one of them), you can create the same base layout on the new disk with /boot and LVM/VG for the rest of the disk and then use `dd` to clone the content from one partition/lvm to another. if you need more details for how to do it, just let me know, i will be happy to help. -- Rabin On Sun, 18 Nov 2018 at 20:14, Geoffrey Mendelson < geoffreymendelson at gmail.com> wrote: > I have an Ubuntu 15.10 system. When I installed it, it defaulted to a > regular ext(something) boot partition, and an lvm partition with everything > else on it. > > There now is a bad spot in the lvm partition. fsck with a read check does > not find it. I have moved enough data off of it, so it wont show up in a > file copy. > > I will have a new drive tomorrow, intended to replace the old one. The old > one is 300 gig, the new one is 1tb. > > Normally, I would just partition it, make both file systems ext4, copy the > files and run grub. > > The lvm volume is something I dont understand. > > If there a diskcopy type utility that would do all the work for me? > > Is there a howto? > > Can I just make the root an ext4 partition on the new disk and skip the > lvm? > > What would I have to change? I assume grub.conf and /etc/fstab. Anything > else? > > TIA > > Geoff > -- > > From my tablet please pardon mistakes and lack of replies. > Geoffrey Mendelson > 4X1GM/N3OWJ > Jerusalem Israel > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > -------------- next part -------------- An HTML attachment was scrubbed... URL: From linux-il at shimi.net Sun Nov 18 23:55:51 2018 From: linux-il at shimi.net (shimi) Date: Sun, 18 Nov 2018 23:55:51 +0200 Subject: how to copy an ubuntu system disk containing a logical volume. In-Reply-To: References: Message-ID: On Sun, Nov 18, 2018 at 8:14 PM Geoffrey Mendelson < geoffreymendelson at gmail.com> wrote: > The lvm volume is something I dont understand. > Essentially LVM creates an abstraction layer between the actual block device and your filesystems. Usually, your filesystems are written directly on the block device. With LVM, instead you get multiple layers that allows you flexibility (at the cost of some performance degradation, there IS some translation going on there....) in such a way that you can make many small block devices/partitions for just about everything, so nothing will surprise you taking too much disk, and then gradually grow those that you wish, on the fly, without even unmounting your filesystem (assume your filesystem supports online resizing; most modern ones do). Additionally it allows you to concatenate multiple disks into one large store pool (similar to the concept of RAID0) The way it works is like this: You create PVs on actual block devices. From one PV or more ('pvs' to see all PVs), you create a VG (Volume Group) ('vgs' to see all VGs'). So you can create a VG that spans two PVs from two disks. The VG is like a regular block device - you can 'partition' it, and those partitions are called LVs - Logical Volumes ('lvs' to see all LVs). They behave in a similar manner to your /dev/sda1 for that matter, just that you can always enlarge them with the 'lvresize' command, as long there's free space in your VG. You don't really need a tool to copy them. It's fairly simple - you create partition on all the available disk space, change the partition type to Linux LVM, use pvcreate on it, then use vgcreate to create a VG on the PV, and then lvcreate to create volumes/partitions on the VG, after which you mkfs them as you normally would mkfs /dev/sda1 - just with /dev/mapper/vgname-logvolname instead... the one place where you might be bothered is if your root directory itself is over LVM. In that case, the kernel will not directly be able to use it with a root= boot parameter, rather then you'll need to use initramfs that will be capable of enumerating all the LVM hierarchy, and then things like UUIDs/Labels become available and you can use them in your root= parameter. I am assuming your existing system already does that if that's your current setup, so you can copy from there and just modify the GRUB config to your new details. Having said all the above - you can get all that, and more, and especially snapshots which were mentioned before, which... suck... I've no better word, in LVM, better, in.... ZFS (https://en.wikipedia.org/wiki/ZFS). But it's even more complicated ;-) HTH, -- Shimi -------------- next part -------------- An HTML attachment was scrubbed... URL: From tzafrir at cohens.org.il Mon Nov 19 08:54:56 2018 From: tzafrir at cohens.org.il (Tzafrir Cohen) Date: Mon, 19 Nov 2018 08:54:56 +0200 Subject: how to copy an ubuntu system disk containing a logical volume. In-Reply-To: References: Message-ID: <8c4f142e-a6f8-6c51-a2e2-9ee999649d44@cohens.org.il> An HTML attachment was scrubbed... URL: From levonshe at yandex.com Wed Nov 21 16:20:50 2018 From: levonshe at yandex.com (Lev Olshvang) Date: Wed, 21 Nov 2018 17:20:50 +0300 Subject: Kernel default security configuration - how it affects LSM policy? Message-ID: <2782681542810050@sas1-890ba5c2334a.qloud-c.yandex.net> An HTML attachment was scrubbed... URL: From joshroden at gmail.com Thu Nov 22 15:53:01 2018 From: joshroden at gmail.com (Josh Roden) Date: Thu, 22 Nov 2018 15:53:01 +0200 Subject: Memory consumption on a per user basis In-Reply-To: References: Message-ID: Hi Thanks for everyone's input. I came across and liked the smem prog for showing "fair share" mem usage and am using it in a script that looks at RAM+SWAP limit (that I decided on) and it kills whoever is using the most at the time. In the future I hope to succeed in configuring cgroups to enforce fair sharing of memory. Does anyone know of a good cgroups forum? I also wrote a script to monitor cpu, mem and users every 5 min and accordingly came to the decision to ask for more memory. Thx, Josh On Sun, Nov 11, 2018 at 4:36 PM Josh Roden wrote: > Hi everyone > I have a CentOS 6 machine used by around 20 to 30 students > at a time and I need to do one of two things: > 1. find and kill top memory user with script > 2. limit memory usage > > Using cgroups, I have successfully limited memory usage to about 1.5 cpu's > max (per user) out of 16 but evidently I have had less success with memory > hogs. > I understand that memory is a bit complicated to compute because of shared > memory etc. but I need to make the 32G of physical memory go around more > evenly. > Would appreciate any ideas. > Thanks, > Josh > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From baruch at tkos.co.il Thu Nov 22 16:52:33 2018 From: baruch at tkos.co.il (Baruch Siach) Date: Thu, 22 Nov 2018 16:52:33 +0200 Subject: Memory consumption on a per user basis In-Reply-To: References: Message-ID: <20181122145233.qsm2e5d33zgnoj7s@sapphire.tkos.co.il> Hi Josh, On Thu, Nov 22, 2018 at 03:53:01PM +0200, Josh Roden wrote: > Does anyone know of a good cgroups forum? The cgroup entry in the kernel source tree MAINTAINERS files shows this: CONTROL GROUP (CGROUP) M: Tejun Heo M: Li Zefan M: Johannes Weiner L: cgroups at vger.kernel.org ... There is an archive of the cgroups mailing list at http://www.spinics.net/lists/cgroups/ Hope this helps, baruch -- http://baruch.siach.name/blog/ ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il - From joshroden at gmail.com Thu Nov 22 21:34:33 2018 From: joshroden at gmail.com (Josh Roden) Date: Thu, 22 Nov 2018 21:34:33 +0200 Subject: Memory consumption on a per user basis In-Reply-To: <20181111151607.rqhhgm32mb72r2cb@E15-2016.optimum.net> References: <20181111151607.rqhhgm32mb72r2cb@E15-2016.optimum.net> Message-ID: Boruch Thanks for the syntax examples and references for smem. I'm just using "smem -tu" in my script for now. Happy Thanksgiving and Black Friday to everyone! -------------- next part -------------- An HTML attachment was scrubbed... URL: From levonshe at yandex.com Sat Nov 24 20:06:26 2018 From: levonshe at yandex.com (Lev Olshvang) Date: Sat, 24 Nov 2018 21:06:26 +0300 Subject: How CONFIG_DEFAULT_SECURITY affects non-staked LSM ? does it take precedence other DAC? Message-ID: <20005911543082786@iva4-406defa25fee.qloud-c.yandex.net> An HTML attachment was scrubbed... URL: