I am setting up a home server for plex, storage, and a few VMs. I have everything loaded and running and was checking to what ram I had left to start a few VMs and noticed I was using more than half of my ram and hadn't even started a VM yet. I ran "sudo htop" to see if I could find out what was using it, but it doesn't show much. Haven't been using Linux long, but I thought it was very lite on resources. Is there another application I can use to find out what is using the ram?      bob@ducktape:~$ uname -a     Linux ducktape 4.4.0-112-generic #135-Ubuntu SMP Fri Jan 19 11:48:36 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux      bob@ducktape:~$ free -m                   total        used        free      shared  buff/cache   available     Mem:          48291       26613       18648          28        3029       20595     Swap:             0           0           0      bob@ducktape:~$ ps aux --sort -rss | head -n 5     USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND     plex     19720  9.3  1.2 1177412 597384 ?      Sl   00:11  71:45 /usr/lib/plexmediaserver/Plex Media Server     plex     19789  0.0  0.1 344168 92808 ?        Sl   00:11   0:28 /usr/lib/plexmediaserver/Plex DLNA Server     plex     19748  0.1  0.1 1857400 66116 ?       SNl  00:11   0:46 Plex Plug-in [com.plexapp.system] /usr/lib/plexmediaserver/Resources/Plug-ins-f54242b6b/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.10.1.4602-f54242b6b /usr/lib/plexmediaserver/Resources/Plug-ins-f54242b6b/System.bundle     plex     19822  0.0  0.0 955492 47048 ?        Sl   00:11   0:12 Plex Plug-in [com.plexapp.plugins.WebTools] /usr/lib/plexmediaserver/Resources/Plug-ins-f54242b6b/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.10.1.4602-f54242b6b /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/WebTools.bundle  bob@ducktape:~$ free --si -h               total        used        free      shared  buff/cache   available Mem:            49G         27G         19G         29M        3.1G         21G Swap:            0B          0B          0B
Ubuntu has been crashing on me recently. I think its because it runs out of memory so I ran the free -m command and found that my memory usage was really high. So then, i ran top to find the culprit, but the displayed processes were using less than 1.5% of memory. How do I know which program is making ubuntu crash/run out of memory? Below is the output:  shafee@shafee-pc:~$ free -m              total       used       free     shared    buffers     cached Mem:          3824       3714        110          0        978       1954 -/+ buffers/cache:        780       3044 Swap:           99          0         99  shafee@shafee-pc:~$ top top - 02:12:14 up  1:24,  2 users,  load average: 0.16, 0.42, 1.49 Tasks: 182 total,   1 running, 181 sleeping,   0 stopped,   0 zombie Cpu(s):  2.9%us,  1.9%sy,  0.3%ni, 79.3%id, 15.5%wa,  0.0%hi,  0.2%si,  0.0%st Mem:   3916708k total,  3803848k used,   112860k free,  1002308k buffers Swap:   102396k total,        0k used,   102396k free,  2001852k cached    PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND              4200 root      20   0  289m  53m  38m S    2  1.4   1:06.45 Xorg                 5590 shafee    20   0 19348 1368  956 R    2  0.0   0:00.01 top                     1 root      20   0 24124 2136 1264 S    0  0.1   0:02.05 init                    2 root      20   0     0    0    0 S    0  0.0   0:00.00 kthreadd                3 root      20   0     0    0    0 S    0  0.0   0:24.23 ksoftirqd/0             6 root      RT   0     0    0    0 S    0  0.0   0:00.00 migration/0             7 root      RT   0     0    0    0 S    0  0.0   0:00.00 migration/1             9 root      20   0     0    0    0 S    0  0.0   0:00.11 ksoftirqd/1            11 root      RT   0     0    0    0 S    0  0.0   0:00.00 migration/2            13 root      20   0     0    0    0 S    0  0.0   0:03.89 ksoftirqd/2            14 root      RT   0     0    0    0 S    0  0.0   0:00.00 migration/3            16 root      20   0     0    0    0 S    0  0.0   0:00.16 ksoftirqd/3            17 root       0 -20     0    0    0 S    0  0.0   0:00.00 cpuset                 18 root       0 -20     0    0    0 S    0  0.0   0:00.00 khelper                19 root       0 -20     0    0    0 S    0  0.0   0:00.00 netns                  21 root      20   0     0    0    0 S    0  0.0   0:00.01 sync_supers         shafee@shafee-pc:~$   Or is it normal to have 110mb of free memory and is my issue related to something else?
Microsoft Edge keeps taking over PDF file open/association Each spell has it's own casting time, e.g.  takes 1 full round and  takes a swift action.   On the other hand,      Drinking a potion or using an oil is a standard action    as      In many ways, they behave like spells in potion form, and as such their effects can be dispelled by effects like dispel magic using the alchemist's level as the caster level. Unlike potions, though, extracts can have powerful effects and duplicate spells that a potion normally could not.   So how long does consuming an extract take? I'm inclined to believe that it takes just as long as the spell does to cast (e.g. a full round to Enlarge Person, only a swift for Burst of Speed) but I'd love to know if this is ever clarified in the rules or a FAQ that I've missed. In a reverse split, what happens to odd lots? Let us say for example that I have 27 shares of stock X (there really is an X but its identity is not relevant).  In this example, X does a 5:1 reverse split. How many shares do I end up with. If I have fractional shares, what can I do with them? Is there any way to generalise this problem? The FAQ says that Community Wiki works:     by transferring ownership of the post   from the original author to the   community. They make the post easier   to edit and maintain by a wider group   of users, but they do not contribute   to any user's reputation.   But using the new edit suggestion system, everyone can edit. It's no longer true that community wiki makes a post easier to edit.  Does community wiki still serve a function?    What are good examples of community wiki mode doing what it's supposed to do? I would like to set up memoir so that when I use \footnote{foo}, foo is displayed in the margin with the proper label and preferably break over pages.  There is an option \footnotesinmargin which gives almost exactly what I need, only justified. I want it to use ragged2e and change alignment based on even/odd page so that the margin note is always flushed towards the main text area and allows hyphenation on the side of the edge.  \documentclass[12pt, draft]{memoir} \footnotesinmargin \usepackage{polyglossia} \setmainlanguage{english} \usepackage{fontspec} \defaultfontfeatures{Ligatures=TeX} \setmainfont[Ligatures=TeX,Numbers=OldStyle]{Minion Pro} \usepackage{kantlipsum}  \begin{document} \kant[1]\footnote{\kant[1]} \kant[2]\footnote{\kant[2]} \kant[3-5] \end{document}   Possible partial work-around  I have remembered a nice thesis based upon the Classic thesis template and found the  which indeed contains a possible solution:  \usepackage{marginnote} \usepackage{ragged2e} \newcommand{\sidemark}[1]{#1.{\:}}  \newcommand{\marginelement}[2][0]{%   \marginnote{%     \strictpagechecktrue     \checkoddpage     \ifoddpage%       \RaggedRight\footnotesize%     \else%       \RaggedLeft\footnotesize%     \fi%     #2%   }[#1\onelineskip]% }%  \newcommand{\sidenote}[2][0]{%   \footnotemark%   \ignorespaces%   \marginelement[#1]{%     \sidemark{\thefootnote}%     \ignorespaces#2%   }%   \unskip% }%   Nevertheless, I would still prefer a memoir-specific solution with the re-definition of footnotes when used with the option \footnotesinmargin mainly for the sake of portability. This work-around also does not work with hyperref (there is no hypertext connection) and does not break over pages automatically. Keep the same field headers after joining a table to a shapefile in QGIS I noticed that after joining a table to a shapefile the headers of each fields in the table used for the join are changed by QGIS and they are attributed to a different name.  For instance, I had a shapefile with vegetation_codes and a table with vegetation_codes and veg_definition (these were the headers). After joining the table to the shapefile and also saving the shapefile and creating a new one, the vegetation_classes header was changed into vegetati_1.  Is there a way to keep the original headers?  I am using QGIS Dufour on Windows 7 and the table that I join to the shapefile is CSV (tried with dbf as well and the problem is the same). What does 2>/dev/null mean? I would like a brief explanation of the following command line:  grep -i 'abc' content 2&gt;/dev/null How to turn off Facebook notifications on Mac OS X? How can I remove Ubuntu from my system and install the Windows bootloader? On Groups of Order 315 with a unique sylow 3-subgroup . in Dummit and Foote , an exercise asked me to prove that , if $G$ is a group of order $315$ , $G$ has a normal sylow $3$-subgroup then , $G$ is abelian .  this is exercise number $27$ , section $5$ , chapter $4$  my method on proving this is showing that $ |G| = |Z(G)|$ as follows   i showed that $|Z(G)|$ $\in$ ${ 9 , 63 , 45 , 315 } $  and  showed that$ |Z(G)|$ is not $63 , 45$ or $9$   so it must be $315 $  but i showed this under two condition ,   first condition: if $X$ is the set of all elements of $G$ of order $5$ , $H$ is the subgroup generated by $X$  then $|H|$is not $315$  second condition : also , if $Y$ is the set of all elements of $G$ of order $7$ , $N$ is the subgroup generated by $Y$ then $|N|$ is not $315$   so , if those two condition are then my method of proving works .   but i don't know how to prove those conditions .   any help ? Assume a p x n data matrix  (e.g. p independent samples of n variables). The n variables are correlated according to a correlation matrix $\rho$. Now if you consider the data matrix as some state t (t=time)  and based on this state I would like to calculate the next timestep (t+1). Therefore the correlation matrix would be allowed to have values &lt; 1 in the diagonal, which means that the diagonal elements would indicate the influence from each variable $x_{p,i}[t]$ on $x_{p,i}[t+1]$. So I would be interested to find a function f like this: $x_{p,i}[t+1] = f(x_{p,i}[t],\rho)$ so that the p x n data matrix  consisting of the $x_{p,i}[t+1]$ replicates the $\rho_{ij}$ (except the diagonal element). f should be something like this: $x_{i,j}[t+1] = \sum_{(k=1\ldots n)}\rho_{i,k} \cdot x_{kj}[t] + e_{i,j}.$ This means specifically, I not only want to calculate a data matrix, that replicates the correlation matrix as such, but also to let each observation be depending on its own state and linear dependent on the previous state of all the intercorrelated variables of its own state. For ease one can assume that the p variables are distributed normal and $e_{ij}$ are independent and distributed with mean$(e_{i,j}) = 0 $. Then for a numerical simulation it would be interesting  to find a formula to calculate the variance/standard deviation of each of the j variables (sd($e_{[.,j]} = ?).$ Thank you for any help! Does anyone know the general strategy for summing a series of the form:  $$\sum_{n=1}^{\infty} \frac{1}{n^2 + a^2},$$  where $a$ is a positive integer?  Any hints or ideas would be great! How to use (home) brew install python 3.6.5_1 I am trying to install python 3.6.5_1 using Homebrew by running the following:  $ brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/f2a764ef944b1080be64bd88dca9a1d80130c558/Formula/python.rb   I am getting the following error:  Error: python contains a recursive dependency on itself: python depends on sphinx-doc sphinx-doc depends on python   How do I deal with it? Is there a pattern to which Star Trek ships get the definite article? Some ships in Star Trek are referred to with definite articles. "The Enterprise", "The Defiant". Other ships are referred to without them. "Voyager", "Enterprise". Is there a pattern to or explanation for this behavior? My images are blurry! Why isn't WPF's SnapsToDevicePixels working? I'm using some Images in my WPF applcation.  XAML:  &lt;Image Name="ImageOrderedList"        Source="images/OrderedList.png"        ToolTip="Ordered List"        Margin="0,0,5,5"        Width="20"        Height="20"        SnapsToDevicePixels="True"        MouseUp="Image_MouseUp"        MouseEnter="Image_MouseEnter"        MouseLeave="Image_MouseLeave" /&gt;   But, they appear fuzzy.  Why doesn't that SnapsToDevicePixels="True" line prevent this problem? Given $f(x) = \frac{1}{2}x^TAx + b^Tx + \alpha $   where A is an nxn symmetric matrix, b is an n-dimensional vector, and alpha a scalar. Show that  $\bigtriangledown _{x}f(x) = Ax + b$   and  $H = \bigtriangledown ^{2}_{x}f(x) = A$   Is this simply a matter of taking a derivative with respect to X, how would you attack this one? Why didn't Palpatine publicly change his name once he became Emperor? Anakin Skywalker was known as Darth Vader (this was already his Sith name) after the creation of the Galactic Empire.  So why did Palpatine remain "Emperor Palpatine"? Why didn't he embrace his persona as Darth Sidious?  I started wondering after reading one of the answers to What is the recommended CIDR when creating VPC on AWS? I have been creating AWS VPCs and I am wondering if there is a recommended CIDR value when creating VPCs. What are the factors that I must consider when choosing a CIDR and does the CIDR value affect the performance of the network? How many triples $(x,y,n)$ are there such that $x^n - y^n = 2^{100}$