mirror of
https://github.com/weechat/weechat.git
synced 2026-06-12 14:14:48 +02:00
core: add option malloc_trim in command /sys
This commit is contained in:
@@ -15,6 +15,7 @@ For a list of important changes that require manual actions, please look at rele
|
||||
|
||||
New features::
|
||||
|
||||
* core: add option `malloc_trim` in command `/sys`
|
||||
* core: add support of SGR mouse events (issue #2082)
|
||||
* core: reintroduce help on the variables and operators in `/help eval` (issue #2005)
|
||||
* core: add option `-s` in command `/command` to execute multiple commands separated by semicolons
|
||||
|
||||
@@ -21,7 +21,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2024-03-06 20:32+0100\n"
|
||||
"POT-Creation-Date: 2024-03-06 21:53+0100\n"
|
||||
"PO-Revision-Date: 2024-03-06 20:32+0100\n"
|
||||
"Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -3451,7 +3451,8 @@ msgstr ""
|
||||
msgid "system actions"
|
||||
msgstr "seznam konfiguračních možností"
|
||||
|
||||
msgid "get rlimit|rusage || suspend || waitpid <number>"
|
||||
msgid ""
|
||||
"get rlimit|rusage || malloc_trim [<size>] || suspend || waitpid <number>"
|
||||
msgstr ""
|
||||
|
||||
msgid "raw[get]: display system info"
|
||||
@@ -3467,6 +3468,17 @@ msgstr ""
|
||||
msgid "raw[rusage]: display resource usage (see \"man getrusage\")"
|
||||
msgstr "Využití paměti (viz \"man mallinfo\" pro nápovědu):"
|
||||
|
||||
msgid ""
|
||||
"raw[malloc_trim]: call function malloc_trim to release free memory from the "
|
||||
"heap"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"size: amount of free space to leave untrimmed at the top of the heap "
|
||||
"(default is 0: only the minimum amount of memory is maintained at the top of "
|
||||
"the heap)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"raw[suspend]: suspend WeeChat and go back to the shell, by sending signal "
|
||||
"SIGTSTP to the WeeChat process"
|
||||
|
||||
@@ -26,7 +26,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2024-03-06 20:32+0100\n"
|
||||
"POT-Creation-Date: 2024-03-06 21:53+0100\n"
|
||||
"PO-Revision-Date: 2024-03-06 20:32+0100\n"
|
||||
"Last-Translator: Nils Görs <weechatter@arcor.de>\n"
|
||||
"Language-Team: German <kde-i18n-de@kde.org>\n"
|
||||
@@ -3839,7 +3839,10 @@ msgstr ""
|
||||
msgid "system actions"
|
||||
msgstr "Systemaktionen"
|
||||
|
||||
msgid "get rlimit|rusage || suspend || waitpid <number>"
|
||||
#, fuzzy
|
||||
#| msgid "get rlimit|rusage || suspend || waitpid <number>"
|
||||
msgid ""
|
||||
"get rlimit|rusage || malloc_trim [<size>] || suspend || waitpid <number>"
|
||||
msgstr "get rlimit|rusage || suspend || waitpid <number>"
|
||||
|
||||
msgid "raw[get]: display system info"
|
||||
@@ -3855,6 +3858,17 @@ msgstr ""
|
||||
msgid "raw[rusage]: display resource usage (see \"man getrusage\")"
|
||||
msgstr "raw[rusage]: Ressourcennutzung anzeigen (siehe \"man getrusage\")"
|
||||
|
||||
msgid ""
|
||||
"raw[malloc_trim]: call function malloc_trim to release free memory from the "
|
||||
"heap"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"size: amount of free space to leave untrimmed at the top of the heap "
|
||||
"(default is 0: only the minimum amount of memory is maintained at the top of "
|
||||
"the heap)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"raw[suspend]: suspend WeeChat and go back to the shell, by sending signal "
|
||||
"SIGTSTP to the WeeChat process"
|
||||
|
||||
@@ -22,7 +22,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2024-03-06 20:32+0100\n"
|
||||
"POT-Creation-Date: 2024-03-06 21:53+0100\n"
|
||||
"PO-Revision-Date: 2024-03-06 20:32+0100\n"
|
||||
"Last-Translator: Santiago Forero <santiago@forero.xyz>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -3558,7 +3558,8 @@ msgstr ""
|
||||
msgid "system actions"
|
||||
msgstr "lista de opciones"
|
||||
|
||||
msgid "get rlimit|rusage || suspend || waitpid <number>"
|
||||
msgid ""
|
||||
"get rlimit|rusage || malloc_trim [<size>] || suspend || waitpid <number>"
|
||||
msgstr ""
|
||||
|
||||
msgid "raw[get]: display system info"
|
||||
@@ -3574,6 +3575,17 @@ msgstr ""
|
||||
msgid "raw[rusage]: display resource usage (see \"man getrusage\")"
|
||||
msgstr "Uso de memoria (ver en \"man mallinfo\" por ayuda):"
|
||||
|
||||
msgid ""
|
||||
"raw[malloc_trim]: call function malloc_trim to release free memory from the "
|
||||
"heap"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"size: amount of free space to leave untrimmed at the top of the heap "
|
||||
"(default is 0: only the minimum amount of memory is maintained at the top of "
|
||||
"the heap)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"raw[suspend]: suspend WeeChat and go back to the shell, by sending signal "
|
||||
"SIGTSTP to the WeeChat process"
|
||||
|
||||
@@ -21,8 +21,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2024-03-06 20:32+0100\n"
|
||||
"PO-Revision-Date: 2024-03-06 20:32+0100\n"
|
||||
"POT-Creation-Date: 2024-03-06 21:53+0100\n"
|
||||
"PO-Revision-Date: 2024-03-06 21:53+0100\n"
|
||||
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
"Language: fr\n"
|
||||
@@ -3761,8 +3761,10 @@ msgstr ""
|
||||
msgid "system actions"
|
||||
msgstr "actions système"
|
||||
|
||||
msgid "get rlimit|rusage || suspend || waitpid <number>"
|
||||
msgstr "get rlimit|rusage || suspend || waitpid <nombre>"
|
||||
msgid ""
|
||||
"get rlimit|rusage || malloc_trim [<size>] || suspend || waitpid <number>"
|
||||
msgstr ""
|
||||
"get rlimit|rusage || malloc_trim [<taille>] || suspend || waitpid <nombre>"
|
||||
|
||||
msgid "raw[get]: display system info"
|
||||
msgstr "raw[get] : afficher des informations système"
|
||||
@@ -3778,6 +3780,22 @@ msgid "raw[rusage]: display resource usage (see \"man getrusage\")"
|
||||
msgstr ""
|
||||
"raw[rusage] : afficher l'utilisation des ressources (voir \"man getrusage\")"
|
||||
|
||||
msgid ""
|
||||
"raw[malloc_trim]: call function malloc_trim to release free memory from the "
|
||||
"heap"
|
||||
msgstr ""
|
||||
"raw[malloc_trim] : appeler la fonction malloc_trim pour libérer de la "
|
||||
"mémoire du tas"
|
||||
|
||||
msgid ""
|
||||
"size: amount of free space to leave untrimmed at the top of the heap "
|
||||
"(default is 0: only the minimum amount of memory is maintained at the top of "
|
||||
"the heap)"
|
||||
msgstr ""
|
||||
"taille : quantité d'espace libre à laisser non rogné au sommet du tas (la "
|
||||
"valeur par défaut est 0 : seule la quantité minimale de mémoire est "
|
||||
"maintenue au sommet du tas)"
|
||||
|
||||
msgid ""
|
||||
"raw[suspend]: suspend WeeChat and go back to the shell, by sending signal "
|
||||
"SIGTSTP to the WeeChat process"
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2024-03-06 20:32+0100\n"
|
||||
"POT-Creation-Date: 2024-03-06 21:53+0100\n"
|
||||
"PO-Revision-Date: 2023-11-29 09:59+0100\n"
|
||||
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -3297,7 +3297,8 @@ msgstr ""
|
||||
msgid "system actions"
|
||||
msgstr "konfigurációs paraméterek beállítása"
|
||||
|
||||
msgid "get rlimit|rusage || suspend || waitpid <number>"
|
||||
msgid ""
|
||||
"get rlimit|rusage || malloc_trim [<size>] || suspend || waitpid <number>"
|
||||
msgstr ""
|
||||
|
||||
msgid "raw[get]: display system info"
|
||||
@@ -3311,6 +3312,17 @@ msgstr ""
|
||||
msgid "raw[rusage]: display resource usage (see \"man getrusage\")"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"raw[malloc_trim]: call function malloc_trim to release free memory from the "
|
||||
"heap"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"size: amount of free space to leave untrimmed at the top of the heap "
|
||||
"(default is 0: only the minimum amount of memory is maintained at the top of "
|
||||
"the heap)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"raw[suspend]: suspend WeeChat and go back to the shell, by sending signal "
|
||||
"SIGTSTP to the WeeChat process"
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2024-03-06 20:32+0100\n"
|
||||
"POT-Creation-Date: 2024-03-06 21:53+0100\n"
|
||||
"PO-Revision-Date: 2024-03-06 20:32+0100\n"
|
||||
"Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -3450,7 +3450,8 @@ msgstr ""
|
||||
msgid "system actions"
|
||||
msgstr "elenco delle opzioni"
|
||||
|
||||
msgid "get rlimit|rusage || suspend || waitpid <number>"
|
||||
msgid ""
|
||||
"get rlimit|rusage || malloc_trim [<size>] || suspend || waitpid <number>"
|
||||
msgstr ""
|
||||
|
||||
msgid "raw[get]: display system info"
|
||||
@@ -3469,6 +3470,17 @@ msgstr ""
|
||||
msgid "raw[rusage]: display resource usage (see \"man getrusage\")"
|
||||
msgstr "Uso della memoria (consultare \"man mallinfo\" per aiuto):"
|
||||
|
||||
msgid ""
|
||||
"raw[malloc_trim]: call function malloc_trim to release free memory from the "
|
||||
"heap"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"size: amount of free space to leave untrimmed at the top of the heap "
|
||||
"(default is 0: only the minimum amount of memory is maintained at the top of "
|
||||
"the heap)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"raw[suspend]: suspend WeeChat and go back to the shell, by sending signal "
|
||||
"SIGTSTP to the WeeChat process"
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2024-03-06 20:32+0100\n"
|
||||
"POT-Creation-Date: 2024-03-06 21:53+0100\n"
|
||||
"PO-Revision-Date: 2024-03-06 20:32+0100\n"
|
||||
"Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
|
||||
"Language-Team: Japanese <https://github.com/l/weechat/tree/master/"
|
||||
@@ -3561,7 +3561,8 @@ msgstr ""
|
||||
msgid "system actions"
|
||||
msgstr "fset オプション"
|
||||
|
||||
msgid "get rlimit|rusage || suspend || waitpid <number>"
|
||||
msgid ""
|
||||
"get rlimit|rusage || malloc_trim [<size>] || suspend || waitpid <number>"
|
||||
msgstr ""
|
||||
|
||||
msgid "raw[get]: display system info"
|
||||
@@ -3580,6 +3581,17 @@ msgstr ""
|
||||
msgid "raw[rusage]: display resource usage (see \"man getrusage\")"
|
||||
msgstr "メモリ使用量 (ヘルプを見るには \"man mallinfo\" を参照してください):"
|
||||
|
||||
msgid ""
|
||||
"raw[malloc_trim]: call function malloc_trim to release free memory from the "
|
||||
"heap"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"size: amount of free space to leave untrimmed at the top of the heap "
|
||||
"(default is 0: only the minimum amount of memory is maintained at the top of "
|
||||
"the heap)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"raw[suspend]: suspend WeeChat and go back to the shell, by sending signal "
|
||||
"SIGTSTP to the WeeChat process"
|
||||
|
||||
@@ -22,7 +22,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2024-03-06 20:32+0100\n"
|
||||
"POT-Creation-Date: 2024-03-06 21:53+0100\n"
|
||||
"PO-Revision-Date: 2024-03-06 20:32+0100\n"
|
||||
"Last-Translator: Krzysztof Korościk <soltys@soltys.info>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -3640,7 +3640,10 @@ msgstr ""
|
||||
msgid "system actions"
|
||||
msgstr "akcje systemowe"
|
||||
|
||||
msgid "get rlimit|rusage || suspend || waitpid <number>"
|
||||
#, fuzzy
|
||||
#| msgid "get rlimit|rusage || suspend || waitpid <number>"
|
||||
msgid ""
|
||||
"get rlimit|rusage || malloc_trim [<size>] || suspend || waitpid <number>"
|
||||
msgstr "get rlimit|rusage || suspend || waitpid <numer>"
|
||||
|
||||
msgid "raw[get]: display system info"
|
||||
@@ -3656,6 +3659,17 @@ msgstr ""
|
||||
msgid "raw[rusage]: display resource usage (see \"man getrusage\")"
|
||||
msgstr "raw[rusage]: wyświetla zużycie zasobów (zobacz \"man getrlimit\")"
|
||||
|
||||
msgid ""
|
||||
"raw[malloc_trim]: call function malloc_trim to release free memory from the "
|
||||
"heap"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"size: amount of free space to leave untrimmed at the top of the heap "
|
||||
"(default is 0: only the minimum amount of memory is maintained at the top of "
|
||||
"the heap)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"raw[suspend]: suspend WeeChat and go back to the shell, by sending signal "
|
||||
"SIGTSTP to the WeeChat process"
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2024-03-06 20:32+0100\n"
|
||||
"POT-Creation-Date: 2024-03-06 21:53+0100\n"
|
||||
"PO-Revision-Date: 2024-03-06 20:32+0100\n"
|
||||
"Last-Translator: Vasco Almeida <vascomalmeida@sapo.pt>\n"
|
||||
"Language-Team: Portuguese <>\n"
|
||||
@@ -3562,7 +3562,8 @@ msgstr ""
|
||||
msgid "system actions"
|
||||
msgstr "lista de opções"
|
||||
|
||||
msgid "get rlimit|rusage || suspend || waitpid <number>"
|
||||
msgid ""
|
||||
"get rlimit|rusage || malloc_trim [<size>] || suspend || waitpid <number>"
|
||||
msgstr ""
|
||||
|
||||
msgid "raw[get]: display system info"
|
||||
@@ -3581,6 +3582,17 @@ msgstr ""
|
||||
msgid "raw[rusage]: display resource usage (see \"man getrusage\")"
|
||||
msgstr "Utilização de memória (ver \"man mallingo\" para obter ajuda):"
|
||||
|
||||
msgid ""
|
||||
"raw[malloc_trim]: call function malloc_trim to release free memory from the "
|
||||
"heap"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"size: amount of free space to leave untrimmed at the top of the heap "
|
||||
"(default is 0: only the minimum amount of memory is maintained at the top of "
|
||||
"the heap)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"raw[suspend]: suspend WeeChat and go back to the shell, by sending signal "
|
||||
"SIGTSTP to the WeeChat process"
|
||||
|
||||
+14
-2
@@ -21,7 +21,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2024-03-06 20:32+0100\n"
|
||||
"POT-Creation-Date: 2024-03-06 21:53+0100\n"
|
||||
"PO-Revision-Date: 2024-02-17 10:07+0100\n"
|
||||
"Last-Translator: Érico Nogueira <ericonr@disroot.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -3479,7 +3479,8 @@ msgstr ""
|
||||
msgid "system actions"
|
||||
msgstr "lista de opções"
|
||||
|
||||
msgid "get rlimit|rusage || suspend || waitpid <number>"
|
||||
msgid ""
|
||||
"get rlimit|rusage || malloc_trim [<size>] || suspend || waitpid <number>"
|
||||
msgstr ""
|
||||
|
||||
msgid "raw[get]: display system info"
|
||||
@@ -3495,6 +3496,17 @@ msgstr ""
|
||||
msgid "raw[rusage]: display resource usage (see \"man getrusage\")"
|
||||
msgstr "Uso de memória (veja \"man mallinfo\" para ajuda):"
|
||||
|
||||
msgid ""
|
||||
"raw[malloc_trim]: call function malloc_trim to release free memory from the "
|
||||
"heap"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"size: amount of free space to leave untrimmed at the top of the heap "
|
||||
"(default is 0: only the minimum amount of memory is maintained at the top of "
|
||||
"the heap)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"raw[suspend]: suspend WeeChat and go back to the shell, by sending signal "
|
||||
"SIGTSTP to the WeeChat process"
|
||||
|
||||
@@ -21,7 +21,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2024-03-06 20:32+0100\n"
|
||||
"POT-Creation-Date: 2024-03-06 21:53+0100\n"
|
||||
"PO-Revision-Date: 2023-11-29 09:59+0100\n"
|
||||
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -3322,7 +3322,8 @@ msgstr ""
|
||||
msgid "system actions"
|
||||
msgstr "настроить параметры конфигурации"
|
||||
|
||||
msgid "get rlimit|rusage || suspend || waitpid <number>"
|
||||
msgid ""
|
||||
"get rlimit|rusage || malloc_trim [<size>] || suspend || waitpid <number>"
|
||||
msgstr ""
|
||||
|
||||
msgid "raw[get]: display system info"
|
||||
@@ -3336,6 +3337,17 @@ msgstr ""
|
||||
msgid "raw[rusage]: display resource usage (see \"man getrusage\")"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"raw[malloc_trim]: call function malloc_trim to release free memory from the "
|
||||
"heap"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"size: amount of free space to leave untrimmed at the top of the heap "
|
||||
"(default is 0: only the minimum amount of memory is maintained at the top of "
|
||||
"the heap)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"raw[suspend]: suspend WeeChat and go back to the shell, by sending signal "
|
||||
"SIGTSTP to the WeeChat process"
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2024-03-06 20:32+0100\n"
|
||||
"POT-Creation-Date: 2024-03-06 21:53+0100\n"
|
||||
"PO-Revision-Date: 2024-03-06 20:32+0100\n"
|
||||
"Last-Translator: Ivan Pešić <ivan.pesic@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -3653,7 +3653,10 @@ msgstr ""
|
||||
msgid "system actions"
|
||||
msgstr "системске акције"
|
||||
|
||||
msgid "get rlimit|rusage || suspend || waitpid <number>"
|
||||
#, fuzzy
|
||||
#| msgid "get rlimit|rusage || suspend || waitpid <number>"
|
||||
msgid ""
|
||||
"get rlimit|rusage || malloc_trim [<size>] || suspend || waitpid <number>"
|
||||
msgstr "get rlimit|rusage || suspend || waitpid <број>"
|
||||
|
||||
msgid "raw[get]: display system info"
|
||||
@@ -3670,6 +3673,17 @@ msgid "raw[rusage]: display resource usage (see \"man getrusage\")"
|
||||
msgstr ""
|
||||
"raw[rusage]: приказује искоришћење ресурса (погледајте „man getrusage”)"
|
||||
|
||||
msgid ""
|
||||
"raw[malloc_trim]: call function malloc_trim to release free memory from the "
|
||||
"heap"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"size: amount of free space to leave untrimmed at the top of the heap "
|
||||
"(default is 0: only the minimum amount of memory is maintained at the top of "
|
||||
"the heap)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"raw[suspend]: suspend WeeChat and go back to the shell, by sending signal "
|
||||
"SIGTSTP to the WeeChat process"
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2024-03-06 20:32+0100\n"
|
||||
"POT-Creation-Date: 2024-03-06 21:53+0100\n"
|
||||
"PO-Revision-Date: 2024-03-06 20:33+0100\n"
|
||||
"Last-Translator: Emir SARI <emir_sari@icloud.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -3599,7 +3599,8 @@ msgstr ""
|
||||
msgid "system actions"
|
||||
msgstr "fset seçenekleri"
|
||||
|
||||
msgid "get rlimit|rusage || suspend || waitpid <number>"
|
||||
msgid ""
|
||||
"get rlimit|rusage || malloc_trim [<size>] || suspend || waitpid <number>"
|
||||
msgstr ""
|
||||
|
||||
msgid "raw[get]: display system info"
|
||||
@@ -3619,6 +3620,17 @@ msgstr ""
|
||||
msgid "raw[rusage]: display resource usage (see \"man getrusage\")"
|
||||
msgstr "Bellek kullanımı (yardım için bkz. \"man mallinfo\"):"
|
||||
|
||||
msgid ""
|
||||
"raw[malloc_trim]: call function malloc_trim to release free memory from the "
|
||||
"heap"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"size: amount of free space to leave untrimmed at the top of the heap "
|
||||
"(default is 0: only the minimum amount of memory is maintained at the top of "
|
||||
"the heap)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"raw[suspend]: suspend WeeChat and go back to the shell, by sending signal "
|
||||
"SIGTSTP to the WeeChat process"
|
||||
|
||||
+14
-2
@@ -21,7 +21,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2024-03-06 20:32+0100\n"
|
||||
"POT-Creation-Date: 2024-03-06 21:53+0100\n"
|
||||
"PO-Revision-Date: 2014-08-16 10:27+0200\n"
|
||||
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -3098,7 +3098,8 @@ msgstr ""
|
||||
msgid "system actions"
|
||||
msgstr ""
|
||||
|
||||
msgid "get rlimit|rusage || suspend || waitpid <number>"
|
||||
msgid ""
|
||||
"get rlimit|rusage || malloc_trim [<size>] || suspend || waitpid <number>"
|
||||
msgstr ""
|
||||
|
||||
msgid "raw[get]: display system info"
|
||||
@@ -3112,6 +3113,17 @@ msgstr ""
|
||||
msgid "raw[rusage]: display resource usage (see \"man getrusage\")"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"raw[malloc_trim]: call function malloc_trim to release free memory from the "
|
||||
"heap"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"size: amount of free space to leave untrimmed at the top of the heap "
|
||||
"(default is 0: only the minimum amount of memory is maintained at the top of "
|
||||
"the heap)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"raw[suspend]: suspend WeeChat and go back to the shell, by sending signal "
|
||||
"SIGTSTP to the WeeChat process"
|
||||
|
||||
+23
-1
@@ -40,6 +40,7 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <errno.h>
|
||||
#include <malloc.h>
|
||||
|
||||
#include "weechat.h"
|
||||
#include "wee-command.h"
|
||||
@@ -6764,6 +6765,20 @@ COMMAND_CALLBACK(sys)
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
|
||||
if (string_strcmp (argv[1], "malloc_trim") == 0)
|
||||
{
|
||||
error = NULL;
|
||||
value = 0;
|
||||
if (argc > 2)
|
||||
{
|
||||
value = strtol (argv[2], &error, 10);
|
||||
if (!error || error[0] || (value < 0))
|
||||
COMMAND_ERROR;
|
||||
}
|
||||
malloc_trim ((size_t)value);
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
|
||||
if (string_strcmp (argv[1], "waitpid") == 0)
|
||||
{
|
||||
COMMAND_MIN_ARGS(3, "waitpid");
|
||||
@@ -6773,8 +6788,8 @@ COMMAND_CALLBACK(sys)
|
||||
COMMAND_ERROR;
|
||||
sys_waitpid ((int)value);
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
|
||||
}
|
||||
COMMAND_ERROR;
|
||||
}
|
||||
|
||||
@@ -9250,6 +9265,7 @@ command_init ()
|
||||
NULL, "sys",
|
||||
N_("system actions"),
|
||||
N_("get rlimit|rusage"
|
||||
" || malloc_trim [<size>]"
|
||||
" || suspend"
|
||||
" || waitpid <number>"),
|
||||
CMD_ARGS_DESC(
|
||||
@@ -9257,12 +9273,18 @@ command_init ()
|
||||
N_("raw[rlimit]: display resource limits "
|
||||
"(see /help weechat.startup.sys_rlimit and \"man getrlimit\")"),
|
||||
N_("raw[rusage]: display resource usage (see \"man getrusage\")"),
|
||||
N_("raw[malloc_trim]: call function malloc_trim to release free "
|
||||
"memory from the heap"),
|
||||
N_("size: amount of free space to leave untrimmed at the top of "
|
||||
"the heap (default is 0: only the minimum amount of memory is "
|
||||
"maintained at the top of the heap)"),
|
||||
N_("raw[suspend]: suspend WeeChat and go back to the shell, by sending "
|
||||
"signal SIGTSTP to the WeeChat process") ,
|
||||
N_("raw[waitpid]: acknowledge the end of children processes "
|
||||
"(to prevent \"zombie\" processes)"),
|
||||
N_("number: number of processes to clean")),
|
||||
"get rlimit|rusage"
|
||||
" || malloc_trim"
|
||||
" || suspend"
|
||||
" || waitpid 1|10|100|1000",
|
||||
&command_sys, NULL, NULL);
|
||||
|
||||
Reference in New Issue
Block a user