Reputation
Top tag
Next privilege 200 Rep.
See reduced ads
Badges
9
Newest
 Custodian
Impact
~4k people reached

  • 0 posts edited
  • 0 helpful flags
  • 19 votes cast
Jul
2
comment Prevent KDE from swapping
Thanks for the suggestion, @Chris.C, that indeed would've been an option otherwise, but one of the reasons I have this much RAM is that every now and then I use some statistical programs (R and Python), where I'm OK with eventually exceeding the quota (since that's usually for a good cause). I'm not sure yet, but it seems like once in a while, when something like this happens, KDE will also begin swapping and even after the original cause is no more, will still use the swap (but this is just a guess).
Jul
2
comment Prevent KDE from swapping
Bah, I looked into the wrong line. Nope, I'm not using Nouveau, though just for the record, I've restarted the system and now neither kwin nor plasma desktop don't swap. It must happen some time during the exploitation that they require more memory and then don't let it go?
Jul
2
comment Prevent KDE from swapping
@geewee oh, I didn't think about it, well, it seems like it's using Nouveau driver, I'll try to replace it with Nvidia's proprietary one and see if there will be any difference. (added that info to the question).
Jun
29
comment Info: how to get a list of all articles programmatically?
@jcoppens /usr/share/Info is certainly not enough. For instance, there's also $INFOPATH variable, but there's also Info-directory-list in Emacs (for me, there are about ten directories all in all), plus most info files don't map to articles one-to-one, sometimes there are many articles in the same file. But it seems like parsing the output of info --subnodes is trivial, so, I'll probably just write some regexps and be done with it.
Jun
29
comment Info: how to get a list of all articles programmatically?
@jcoppens nope, I didn't know about this one, and had no idea there are so many of them! On the second though though, I'd prefer this to be accomplished using the programs which I can expect to be installed on a typical Linux desktop (Emacs can be assumed to be one, since this is supposed to be used in Emacs).
Jun
29
comment Info: how to get a list of all articles programmatically?
@jcoppens Info is a program, which can display help contents. The files are typically in a special format, which is mostly text, but also use some non-printable characters to aid the reader. These files are typically created by editing TexInfo files (plain text with some markup). Man pages serve similar purpose, but are in a different format / use a different reader. Here's more formal introduction: gnu.org/software/texinfo/manual/info-stnd/info-stnd.html#Top
Aug
3
comment Is it possible to extract multiple groups at once when fontifying with font-lock?
Thanks for the answer, I found a partial answer too: using ("\\(group one\\)\\(group two\\)" (1 face-one) (2 face-two)) seems to do what I asked above, but it doesn't solve the original problem, because extracting repeating groups (such as if matching delimited lists) becomes very tedious with long fixed length lists and impossible with lists of arbitrary length. So, yes, I'm going to research the search-based fontification).
Oct
3
comment Filter packets sent via HTTP to a port other then 80?
Yup, your answer combined with @nik filter did the trick. Thanks a bunch!
Oct
3
comment Filter packets sent via HTTP to a port other then 80?
I really just pasted it as is into Wireshark's filter input box, after I certainly sent a request to the server and also got a response, but nothing showed up in the main window. The IP address is rather non-spcific in my case... that's my localhost.
Oct
3
comment Filter packets sent via HTTP to a port other then 80?
Nope, this didn't do it. Sorry.
Oct
3
comment Filter packets sent via HTTP to a port other then 80?
@grawity Umm... I thought they were the same :) Well, Wireshark then, that's what I'm using. But if there's some way to do this via tcpdump, that's fine too, whichever gets me there.
Jul
8
comment Get a concise list of open (listening) sockets in Fedora 17
@Paul I'm not assuming anything. The number assigned to the opened port is useful. A string alias - isn't. End of story. Sorry, I won't reply any more on this subject. I think it won't help anything / will just waste a little more of database space, hence adding to global warming :)
Jul
8
comment Get a concise list of open (listening) sockets in Fedora 17
@Paul correct information may well be garbage, if there is no way to interpret it. If I write this answer to you in Cyrilic phonetic translation - will it not be garbage to you? It most certainly will, however, it may be correct in all other aspects.
Jul
8
comment Get a concise list of open (listening) sockets in Fedora 17
@Paul I really think this argument is redundant. For me they don't match - hence garbage. Maybe someone used a string consisting of all numbers as an alias to the port number - I don't know and am not eager to find out. In the particular case of the program I'm interested in the port is printed as :shockwave2 - and that is a particularly useless piece of information.
Jul
6
comment Get a concise list of open (listening) sockets in Fedora 17
@Paul that was just an example that floated somewhere in the top results. I was using a different program to bind the socket (written by me, so I surely know what port it uses).
Jul
6
comment Get a concise list of open (listening) sockets in Fedora 17
I actually did say it's Fedora 17. yum claims there's no sockstat that it knows of, but it's not uncommon for RHEL to rename things. If only I knew this is the case... :)
Jul
6
comment Get a concise list of open (listening) sockets in Fedora 17
@terdon I can't yet :) I'd need to wait for some time. But you are welcome to post your suggestion if you like.
Jul
6
comment Get a concise list of open (listening) sockets in Fedora 17
@Paul with another program if I do then echo "some command" | nc 127.0.0.1 port-number - where I actually know what port number it listens on, I'm getting the expected message back, but that program appears in the list as listening on a completely different port.
Jul
6
comment Get a concise list of open (listening) sockets in Fedora 17
@terdon oh, I've missed the -p option. Sorry, I've been trying them from memory instead of just reading through the list of options... well... I'm sorry :) netstat -npa did what I wanted.
Jul
6
comment Get a concise list of open (listening) sockets in Fedora 17
@lserni unfortunately not. This will not print the name of the program using (binding) the socket...