批量杀进程libreoffice命令

kkFileView在Linux服务器上安装踩坑全记录:从LibreOffice报错到字体乱码,我都帮你解决了 本文详细记录了在Linux服务器上安装kkFileView时遇到的常见问题及解决方案,包括LibreOffice报错、字体乱码等。通过实战经验分享,帮助用户顺利完成文件预览服务的部署与优化,提升工作效率。 阅读详情
ps -ef|grep libreoffice | awk '{print $2}' | xargs kill -9
geeklee@geeklee-ThinkPad-E420:~$ ps -ef
UID        PID  PPID  C STIME TTY          TIME CMD
root         1     0  0 08:06 ?        00:00:01 /sbin/init splash
root         2     0  0 08:06 ?        00:00:00 [kthreadd]
root         3     2  0 08:06 ?        00:00:00 [ksoftirqd/0]
root         5     2  0 08:06 ?        00:00:00 [kworker/0:0H]
root         7     2  0 08:06 ?        00:00:20 [rcu_sched]
root         8     2  0 08:06 ?        00:00:00 [rcu_bh]
root         9     2  0 08:06 ?        00:00:00 [migration/0]
root        10     2  0 08:06 ?        00:00:00 [watchdog/0]
root        11     2  0 08:06 ?        00:00:00 [watchdog/1]
root        12     2  0 08:06 ?        00:00:00 [migration/1]
root        13     2  0 08:06 ?        00:00:00 [ksoftirqd/1]
root        15     2  0 08:06 ?        00:00:00 [kworker/1:0H]
root        16     2  0 08:06 ?        00:00:00 [watchdog/2]
root        17     2  0 08:06 ?        00:00:00 [migration/2]
root        18     2  0 08:06 ?        00:00:01 [ksoftirqd/2]
root        20     2  0 08:06 ?        00:00:00 [kworker/2:0H]
root        21     2  0 08:06 ?        00:00:00 [watchdog/3]
root        22     2  0 08:06 ?        00:00:00 [migration/3]
root        23     2  0 08:06 ?        00:00:00 [ksoftirqd/3]
root        25     2  0 08:06 ?        00:00:00 [kworker/3:0H]
root        26     2  0 08:06 ?        00:00:00 [kdevtmpfs]
root        27     2  0 08:06 ?        00:00:00 [netns]
root        28     2  0 08:06 ?        00:00:00 [perf]
root        29     2  0 08:06 ?        00:00:00 [khungtaskd]
root        30     2  0 08:06 ?        00:00:00 [writeback]
root        31     2  0 08:06 ?        00:00:00 [ksmd]
root        32     2  0 08:06 ?        00:00:04 [khugepaged]
root        33     2  0 08:06 ?        00:00:00 [crypto]
root        34     2  0 08:06 ?        00:00:00 [kintegrityd]
root        35     2  0 08:06 ?        00:00:00 [bioset]
root        36     2  0 08:06 ?        00:00:00 [kblockd]
root        37     2  0 08:06 ?        00:00:00 [ata_sff]
root        38     2  0 08:06 ?        00:00:00 [md]
root        39     2  0 08:06 ?        00:00:00 [devfreq_wq]
root        43     2  0 08:06 ?        00:00:04 [kswapd0]
root        44     2  0 08:06 ?        00:00:00 [vmstat]
root        45     2  0 08:06 ?        00:00:00 [fsnotify_mark]
root        46     2  0 08:06 ?        00:00:00 [ecryptfs-kthrea]
root        62     2  0 08:06 ?        00:00:00 [kthrotld]
root        63     2  0 08:06 ?        00:00:00 [acpi_thermal_pm]
root        64     2  0 08:06 ?        00:00:00 [bioset]
root        66     2  0 08:06 ?        00:00:00 [bioset]
root        67     2  0 08:06 ?        00:00:00 [bioset]
root        68     2  0 08:06 ?        00:00:00 [bioset]
root        69     2  0 08:06 ?        00:00:00 [bioset]
root        70     2  0 08:06 ?        00:00:00 [bioset]
root        71     2  0 08:06 ?        00:00:00 [bioset]
root        72     2  0 08:06 ?        00:00:00 [bioset]
root        73     2  0 08:06 ?        00:00:00 [bioset]
root        74     2  0 08:06 ?        00:00:00 [bioset]
root        75     2  0 08:06 ?        00:00:00 [bioset]
root        76     2  0 08:06 ?        00:00:00 [bioset]
root        77     2  0 08:06 ?        00:00:00 [bioset]
root        78     2  0 08:06 ?        00:00:00 [bioset]
root        79     2  0 08:06 ?        00:00:00 [bioset]
root        80     2  0 08:06 ?        00:00:00 [bioset]
root        81     2  0 08:06 ?        00:00:00 [bioset]
root        82     2  0 08:06 ?        00:00:00 [bioset]
root        83     2  0 08:06 ?        00:00:00 [bioset]
root        84     2  0 08:06 ?        00:00:00 [bioset]
root        85     2  0 08:06 ?        00:00:00 [bioset]
root        86     2  0 08:06 ?        00:00:00 [bioset]
root        87     2  0 08:06 ?        00:00:00 [bioset]
root        88     2  0 08:06 ?        00:00:00 [bioset]
root        93     2  0 08:06 ?        00:00:00 [ipv6_addrconf]
root       107     2  0 08:06 ?        00:00:00 [deferwq]
root       108     2  0 08:06 ?        00:00:00 [charger_manager]
root       149     2  0 08:06 ?        00:00:00 [irq/18-mmc0]
root       150     2  0 08:06 ?        00:00:00 [kpsmoused]
root       151     2  0 08:06 ?        00:00:00 [scsi_eh_0]
root       152     2  0 08:06 ?        00:00:00 [scsi_tmf_0]
root       153     2  0 08:06 ?        00:00:00 [scsi_eh_1]
root       154     2  0 08:06 ?        00:00:00 [scsi_tmf_1]
root       155     2  0 08:06 ?        00:00:00 [scsi_eh_2]
root       156     2  0 08:06 ?        00:00:00 [scsi_tmf_2]
root       157     2  0 08:06 ?        00:00:00 [scsi_eh_3]
root       158     2  0 08:06 ?        00:00:00 [scsi_tmf_3]
root       159     2  0 08:06 ?        00:00:00 [scsi_eh_4]
root       160     2  0 08:06 ?        00:00:00 [scsi_tmf_4]
root       161     2  0 08:06 ?        00:00:00 [scsi_eh_5]
root       162     2  0 08:06 ?        00:00:00 [scsi_tmf_5]
root       171     2  0 08:06 ?        00:00:00 [kfd_process_wq]
root       175     2  0 08:06 ?        00:00:00 [ttm_swap]
root       176     2  0 08:06 ?        00:00:00 [bioset]
root       177     2  0 08:06 ?        00:00:00 [bioset]
root       181     2  0 08:06 ?        00:00:00 [kworker/0:1H]
root       182     2  0 08:06 ?        00:00:00 [radeon-crtc]
root       184     2  0 08:06 ?        00:00:00 [radeon-crtc]
root       185     2  0 08:06 ?        00:00:00 [radeon-crtc]
root       186     2  0 08:06 ?        00:00:00 [radeon-crtc]
root       187     2  0 08:06 ?        00:00:00 [kworker/2:1H]
root       211     2  0 08:06 ?        00:00:01 [jbd2/sda12-8]
root       212     2  0 08:06 ?        00:00:00 [ext4-rsv-conver]
root       244     2  0 08:06 ?        00:00:00 [kauditd]
root       258     1  0 08:06 ?        00:00:00 /lib/systemd/systemd-journald
root       272     2  0 08:06 ?        00:00:00 [kworker/1:1H]
root       284     1  0 08:06 ?        00:00:00 /lib/systemd/systemd-udevd
root       424     2  0 08:06 ?        00:00:00 [ktpacpid]
root       425     2  0 08:06 ?        00:00:08 [ktpacpi_nvramd]
root       437     2  0 08:06 ?        00:00:00 [irq/29-mei_me]
root       519     2  0 08:06 ?        00:00:00 [cfg80211]
systemd+   532     1  0 08:06 ?        00:00:00 /lib/systemd/systemd-timesyncd
root       764     1  0 08:07 ?        00:00:01 /usr/sbin/acpid
avahi      768     1  0 08:07 ?        00:00:01 avahi-daemon: running [geeklee-T
root       774     1  0 08:07 ?        00:00:00 /usr/lib/accountsservice/account
root       783     1  0 08:07 ?        00:00:00 /lib/systemd/systemd-logind
message+   786     1  0 08:07 ?        00:00:11 /usr/bin/dbus-daemon --system --
avahi      798   768  0 08:07 ?        00:00:00 avahi-daemon: chroot helper
syslog     803     1  0 08:07 ?        00:00:00 /usr/sbin/rsyslogd -n
root       806     1  0 08:07 ?        00:00:15 /usr/sbin/NetworkManager --no-da
root       809     1  0 08:07 ?        00:00:00 /usr/sbin/ModemManager
whoopsie   812     1  0 08:07 ?        00:00:00 /usr/bin/whoopsie -f
root       825     1  0 08:07 ?        00:00:00 /usr/sbin/cups-browsed
root       828     1  0 08:07 ?        00:00:01 /usr/sbin/thermald --no-daemon -
root       832     1  0 08:07 ?        00:00:00 /usr/sbin/cron -f
root       870     1  0 08:07 ?        00:00:00 /usr/lib/snapd/snapd
root       880     1  0 08:07 ?        00:00:01 /usr/sbin/irqbalance --pid=/var/
root       889     1  0 08:07 ?        00:00:00 /usr/lib/policykit-1/polkitd --n
root       892     2  0 08:07 ?        00:00:01 [kworker/3:1H]
root       928     1  0 08:07 ?        00:00:00 /usr/sbin/lightdm
dnsmasq    943     1  0 08:07 ?        00:00:05 /usr/sbin/dnsmasq -x /var/run/dn
root      1001   928  3 08:07 tty7     00:16:14 /usr/lib/xorg/Xorg -core :0 -sea
postgres  1051     1  0 08:07 ?        00:00:00 /usr/lib/postgresql/9.5/bin/post
root      1058     1  0 08:07 ?        00:00:02 /sbin/wpa_supplicant -u -s -O /r
postgres  1066  1051  0 08:07 ?        00:00:01 postgres: checkpointer process  
postgres  1067  1051  0 08:07 ?        00:00:00 postgres: writer process   
postgres  1068  1051  0 08:07 ?        00:00:00 postgres: wal writer process   
postgres  1069  1051  0 08:07 ?        00:00:00 postgres: autovacuum launcher pr
postgres  1070  1051  0 08:07 ?        00:00:00 postgres: stats collector proces
root      1092     1  0 08:07 tty1     00:00:00 /sbin/agetty --noclear tty1 linu
root      1178   928  0 08:07 ?        00:00:00 lightdm --session-child 12 19
rtkit     1236     1  0 08:07 ?        00:00:00 /usr/lib/rtkit/rtkit-daemon
root      1245     1  0 08:07 ?        00:00:00 /usr/lib/upower/upowerd
colord    1275     1  0 08:07 ?        00:00:00 /usr/lib/colord/colord
geeklee   1308     1  0 08:07 ?        00:00:00 /lib/systemd/systemd --user
geeklee   1310  1308  0 08:07 ?        00:00:00 (sd-pam)
geeklee   1316     1  0 08:07 ?        00:00:00 /usr/bin/gnome-keyring-daemon --
geeklee   1318  1178  0 08:07 ?        00:00:01 /sbin/upstart --user
geeklee   1436  1318  0 08:07 ?        00:00:00 upstart-udev-bridge --daemon --u
root      1450   806  0 08:07 ?        00:00:00 /sbin/dhclient -d -q -sf /usr/li
geeklee   1451  1318  0 08:07 ?        00:00:21 dbus-daemon --fork --session --a
geeklee   1463  1318  0 08:07 ?        00:00:00 /usr/lib/x86_64-linux-gnu/hud/wi
geeklee   1493  1318  0 08:07 ?        00:00:01 upstart-dbus-bridge --daemon --s
geeklee   1495  1318  0 08:07 ?        00:00:05 upstart-dbus-bridge --daemon --s
geeklee   1500  1318  0 08:07 ?        00:00:00 upstart-file-bridge --daemon --u
geeklee   1506  1318  0 08:07 ?        00:00:30 /usr/bin/fcitx
geeklee   1528  1318  0 08:07 ?        00:00:09 /usr/bin/dbus-daemon --fork --pr
geeklee   1532  1318  0 08:07 ?        00:00:00 /usr/bin/fcitx-dbus-watcher unix
geeklee   1533  1318  0 08:07 ?        00:00:00 gpg-agent --homedir /home/geekle
nobody    1539   806  0 08:07 ?        00:00:05 /usr/sbin/dnsmasq --no-resolv --
geeklee   1611  1318  0 08:07 ?        00:00:01 /usr/lib/unity-settings-daemon/u
geeklee   1612  1318  0 08:07 ?        00:00:21 /usr/lib/x86_64-linux-gnu/bamf/b
geeklee   1622  1318  0 08:07 ?        00:00:17 /usr/lib/x86_64-linux-gnu/hud/hu
geeklee   1630  1318  0 08:07 ?        00:00:00 /usr/lib/at-spi2-core/at-spi-bus
geeklee   1631  1318  0 08:07 ?        00:00:00 /usr/lib/gnome-session/gnome-ses
geeklee   1636  1318  0 08:07 ?        00:00:32 /usr/lib/x86_64-linux-gnu/unity/
geeklee   1641  1630  0 08:07 ?        00:00:01 /usr/bin/dbus-daemon --config-fi
geeklee   1648  1318  0 08:07 ?        00:00:06 /usr/lib/at-spi2-core/at-spi2-re
geeklee   1650  1318  0 08:07 ?        00:00:00 /usr/lib/gvfs/gvfsd
geeklee   1657  1318  0 08:07 ?        00:00:00 /usr/lib/gvfs/gvfsd-fuse /run/us
geeklee   1669  1611  0 08:07 ?        00:00:00 syndaemon -i 1.0 -t -K -R
geeklee   1676  1318  0 08:07 ?        00:00:00 /usr/lib/x86_64-linux-gnu/indica
geeklee   1680  1318  0 08:07 ?        00:00:00 /usr/lib/x86_64-linux-gnu/indica
geeklee   1682  1318  0 08:07 ?        00:00:00 /usr/lib/x86_64-linux-gnu/indica
geeklee   1688  1318  0 08:07 ?        00:00:00 /usr/lib/x86_64-linux-gnu/indica
geeklee   1689  1318  0 08:07 ?        00:00:00 /usr/lib/x86_64-linux-gnu/indica
geeklee   1691  1318  0 08:07 ?        00:00:00 /usr/lib/x86_64-linux-gnu/indica
geeklee   1692  1318  0 08:07 ?        00:00:00 /usr/lib/x86_64-linux-gnu/indica
geeklee   1693  1318  0 08:07 ?        00:00:00 /usr/lib/x86_64-linux-gnu/indica
geeklee   1724  1318  0 08:07 ?        00:00:00 /usr/bin/pulseaudio --start --lo
geeklee   1740  1318  0 08:07 ?        00:00:06 /usr/lib/x86_64-linux-gnu/indica
geeklee   1754  1318  0 08:07 ?        00:00:00 /usr/lib/evolution/evolution-sou
geeklee   1756  1318  0 08:07 ?        00:00:02 /usr/lib/dconf/dconf-service
geeklee   1780  1318  3 08:07 ?        00:16:13 compiz
geeklee   1783  1318  0 08:07 ?        00:00:01 /usr/lib/x86_64-linux-gnu/notify
geeklee   1788  1631  0 08:07 ?        00:00:00 /usr/lib/policykit-1-gnome/polki
geeklee   1790  1631  0 08:07 ?        00:00:44 nm-applet
geeklee   1792  1631  0 08:07 ?        00:00:00 /usr/lib/unity-settings-daemon/u
geeklee   1805  1631  0 08:07 ?        00:01:07 nautilus -n
geeklee   1806  1631  0 08:07 ?        00:00:07 /usr/bin/gnome-software --gappli
geeklee   1813  1318  0 08:07 ?        00:00:00 /usr/lib/gvfs/gvfs-udisks2-volum
root      1820     1  0 08:07 ?        00:00:06 /usr/lib/udisks2/udisksd --no-de
geeklee   1830  1318  0 08:07 ?        00:00:00 /usr/lib/gvfs/gvfs-gphoto2-volum
geeklee   1836  1318  0 08:07 ?        00:00:00 /usr/lib/evolution/evolution-cal
geeklee   1841  1318  0 08:07 ?        00:00:00 /usr/lib/gvfs/gvfs-mtp-volume-mo
geeklee   1846  1318  0 08:07 ?        00:00:00 /usr/lib/gvfs/gvfs-afc-volume-mo
geeklee   1852  1318  0 08:07 ?        00:00:00 /usr/lib/gvfs/gvfs-goa-volume-mo
root      1858     1  0 08:07 ?        00:00:00 /usr/lib/x86_64-linux-gnu/fwupd/
geeklee   1871  1318  0 08:07 ?        00:00:00 /usr/lib/gvfs/gvfsd-trash --spaw
geeklee   1891  1318  0 08:07 ?        00:00:00 /usr/lib/gvfs/gvfsd-metadata
geeklee   1900  1836  0 08:07 ?        00:00:00 /usr/lib/evolution/evolution-cal
geeklee   1915  1836  0 08:07 ?        00:00:00 /usr/lib/evolution/evolution-cal
geeklee   1926  1318  0 08:07 ?        00:00:00 /usr/lib/evolution/evolution-add
geeklee   1940  1926  0 08:07 ?        00:00:00 /usr/lib/evolution/evolution-add
geeklee   1950  1318  0 08:07 ?        00:00:00 /usr/lib/x86_64-linux-gnu/gconf/
geeklee   1964  1318  0 08:07 ?        00:00:01 sogou-qimpanel-watchdog
geeklee   1966  1318  0 08:07 ?        00:00:37 sogou-qimpanel
geeklee   2157  1631  0 08:08 ?        00:00:03 zeitgeist-datahub
geeklee   2164  1318  0 08:08 ?        00:00:00 /bin/sh -c /usr/lib/x86_64-linux
geeklee   2168  2164  0 08:08 ?        00:00:00 /usr/bin/zeitgeist-daemon
geeklee   2175  1318  0 08:08 ?        00:00:01 /usr/lib/x86_64-linux-gnu/zeitge
geeklee   2208  1318  0 08:08 ?        00:00:00 /usr/lib/gvfs/gvfsd-network --sp
geeklee   2241  1318  0 08:08 ?        00:00:00 /usr/lib/gvfs/gvfsd-dnssd --spaw
geeklee   2281  1631  0 08:08 ?        00:00:00 update-notifier
geeklee   2294  1318  0 08:08 ?        00:00:00 /bin/sh /usr/pycharm-2016.2.3/bi
geeklee   2314  1318  0 08:08 ?        00:00:00 /usr/lib/glib-networking/glib-pa
geeklee   2360  2294 14 08:08 ?        01:15:23 /usr/pycharm-2016.2.3/bin/../jre
geeklee   2575  2360  0 08:09 ?        00:00:01 /usr/pycharm-2016.2.3/bin/fsnoti
geeklee   2683  1631  0 08:09 ?        00:00:00 /usr/lib/x86_64-linux-gnu/deja-d
geeklee   2713  1318  1 08:10 ?        00:05:04 /usr/lib/gnome-terminal/gnome-te
root      3016     2  0 08:21 ?        00:00:03 [kworker/3:0]
geeklee   3648  2713  0 08:47 pts/11   00:00:00 bash
geeklee   5428  1318  0 09:08 ?        00:00:00 /usr/lib/gvfs/gvfsd-http --spawn
geeklee   7136  3648 43 09:44 pts/11   03:00:30 python manage.py zhejiang getall
postgres  7305  1051  0 09:51 ?        00:01:16 postgres: deploy pol_gov_mon 127
geeklee   7367  2360  1 09:55 ?        00:06:26 /usr/bin/python2.7 /usr/pycharm-
root      7543     2  0 10:01 ?        00:00:13 [kworker/3:1]
root      7637     2  0 10:03 ?        00:00:13 [kworker/1:0]
geeklee   9586  1318  0 11:10 ?        00:00:01 /usr/lib/gvfs/gvfsd-recent --spa
root      9598     2  0 11:10 ?        00:00:11 [kworker/2:1]
geeklee   9678  2713  0 11:13 pts/12   00:00:00 bash
geeklee   9688  9678  0 11:13 pts/12   00:00:01 python manage.py xinjiang getall
geeklee   9857  9678  0 11:21 pts/12   00:00:38 python manage.py xinjiang getall
postgres  9869  1051  0 11:21 ?        00:00:01 postgres: deploy pol_gov_mon 127
root     10927     2  0 12:03 ?        00:00:00 [kworker/1:1]
geeklee  12382  9678  0 12:56 pts/12   00:00:01 python manage.py xinjiang getall
geeklee  12403  9678  0 12:56 pts/12   00:00:02 python manage.py xinjiang getall
geeklee  12464  1318  0 12:58 ?        00:00:00 /usr/lib/x86_64-linux-gnu/unity-
geeklee  12478  1318  0 12:58 ?        00:00:01 /usr/bin/unity-scope-loader appl
geeklee  12480  1318  0 12:58 ?        00:00:00 /usr/lib/x86_64-linux-gnu/unity-
geeklee  13280  9678  0 13:20 pts/12   00:00:03 python manage.py xinjiang getall
geeklee  13874  1318  0 13:46 ?        00:00:00 /home/geeklee/.lantern/bin/lante
geeklee  13885 13874  0 13:46 ?        00:00:18 /home/geeklee/.lantern/bin/lante
geeklee  14225  9678  0 13:55 pts/12   00:00:08 python manage.py xinjiang getall
geeklee  14257  9678  0 13:57 pts/12   00:00:01 python manage.py xinjiang getall
geeklee  14274  9678  0 13:57 pts/12   00:00:07 python manage.py xinjiang getall
root     15640     2  0 14:36 ?        00:00:00 [kworker/0:0]
geeklee  16156  9678  0 14:41 pts/12   00:00:00 python
geeklee  17269  1318 16 15:23 ?        00:11:51 /usr/lib/firefox/firefox
root     17735     2  0 15:30 ?        00:00:01 [kworker/2:2]
root     19125     2  0 16:11 ?        00:00:06 [kworker/u16:0]
root     19270     2  0 16:13 ?        00:00:00 [kworker/0:1]
root     19381     2  0 16:17 ?        00:00:02 [kworker/u16:3]
geeklee  20147  7136  0 16:30 pts/11   00:00:00 sh -c /usr/bin/libreoffice libre
geeklee  20148 20147  0 16:30 pts/11   00:00:00 /opt/libreoffice4.2/program/oosp
geeklee  20170 20148 99 16:30 pts/11   00:05:56 /opt/libreoffice4.2/program/soff
root     20261     2  0 16:31 ?        00:00:00 [kworker/3:2]
root     20369     2  0 16:33 ?        00:00:00 [kworker/2:0]
geeklee  20468  1318  0 16:35 ?        00:00:00 /opt/libreoffice4.2/program/oosp
root     20483     2  0 16:36 ?        00:00:00 [kworker/u16:1]
geeklee  20493  2713  0 16:36 pts/0    00:00:00 bash
geeklee  20506 20493  0 16:36 pts/0    00:00:00 ps -ef
geeklee@geeklee-ThinkPad-E420:~$ ps -ef|grep
用法: grep [选项]... PATTERN [FILE]...
试用'grep --help' 来获得更多信息。
geeklee@geeklee-ThinkPad-E420:~$ ps -ef|grep libreoffice
geeklee  20147  7136  0 16:30 pts/11   00:00:00 sh -c /usr/bin/libreoffice libreoffice --convert-to xlsx /home/geeklee/temp/all_gov_file/pol_gov_mon/downloads/P020150104509470446815.xls --outdir /home/geeklee/temp/all_gov_file/pol_gov_mon/downloads/ --headless --invisible
geeklee  20148 20147  0 16:30 pts/11   00:00:00 /opt/libreoffice4.2/program/oosplash libreoffice --convert-to xlsx /home/geeklee/temp/all_gov_file/pol_gov_mon/downloads/P020150104509470446815.xls --outdir /home/geeklee/temp/all_gov_file/pol_gov_mon/downloads/ --headless --invisible
geeklee  20170 20148 99 16:30 pts/11   00:06:30 /opt/libreoffice4.2/program/soffice.bin libreoffice --convert-to xlsx /home/geeklee/temp/all_gov_file/pol_gov_mon/downloads/P020150104509470446815.xls --outdir /home/geeklee/temp/all_gov_file/pol_gov_mon/downloads/ --headless --invisible
geeklee  20468  1318  0 16:35 ?        00:00:00 /opt/libreoffice4.2/program/oosplash --calc file:///tmp/mozilla_geeklee0/P020161013401762969006.xlsx
geeklee  20516 20493  0 16:37 pts/0    00:00:00 grep --color=auto libreoffice
geeklee@geeklee-ThinkPad-E420:~$ ps -ef|grep libreoffice | awk '{print $2}'
20147
20148
20170
20468
20522
geeklee@geeklee-ThinkPad-E420:~$ ps -ef|grep libreoffice | awk '{print $2}' | xargs - kill -9
xargs: -: 没有那个文件或目录
geeklee@geeklee-ThinkPad-E420:~$ ps -ef|grep libreoffice | awk '{print $2}' | xargs kill -9
批量杀进程libreoffice命令
geeklee@geeklee-ThinkPad-E420:~$ 
鼠鼠格式转换:开源本地格式转换工具的技术原理与部署实践 格式转换是日常办公与开发中的高频需求,但文档、表格、音频、视频的互转远非改后缀那么简单。文档转换涉及结构解析与排版渲染,媒体转换依赖编码器与封装格式,而 PDF 转 Word 更是需要重新识别与重排。LibreOffice 和 FFmpeg 是这类工具背后的核心引擎,分别负责 Office 文档互转和音视频处理。鼠鼠格式转换作为一款 GitHub 上的个人开源项目,将这些底层能力封装为统一操作界面,支持本地运行,兼顾隐私与批处理。理解其技术链路与依赖环境,有助于判断它是否适合自身场景。从本地环境准备、最小案 阅读详情

相关推荐

ASP.NET 在线预览 Office 文档:源码实现与避坑指南

在 Web 应用中实现文档在线预览,核心是将 Office 文件转换为浏览器可渲染的格式。常见方案包括服务端转 PDF、转 HTML 或前端直读,其中服务端转 PDF 结合 pdf.js 渲染在版式还原和稳定性上表现最佳。ASP.NET 作为服务端框架,可通过调用 LibreOffice 无头模式完成转换,并利用流式输出与前端渲染技术实现无插件预览。该方案适用于企业内网、OA、文档管理系统等场景,能有效解决多用户并发、中文乱码、大文件超时等工程问题。本文围绕 ASP.NET 在线浏览 Office 文档程序

weixin_33853794的博客 488

2020-09-28

java后端实现将office转pdf功能,主要用于前端页面展示; 代码实现(libreOffice实现 + office实现): libreOffice实现: java实现逻辑: import javax.annotation.Resource; public class FileHandler1 { @Resource private DocumentConverter documentConverter; /** * 文件转换 * @p.

xc425538372的博客 716

Unity内嵌Office/PDF渲染方案:跨平台文档直读技术

文档内嵌渲染是B端应用与数字展厅的核心能力之一,其本质是将Word、Excel、PPT、PDF等格式在客户端本地解析并绘制为可交互纹理,绕过系统默认程序调用与WebView转换失真。该技术基于LibreOffice SDK实现Office文件的无GUI DOM解析,结合PDFium引擎完成高保真PDF渲染,支持文本搜索、坐标映射、样式继承与跨平台字体适配。相比COM组件或WebView方案,它具备零依赖、低内存、全平台兼容等工程优势,广泛应用于离线培训系统、AR文档叠加、工业知识库等对稳定性与体验一致性要求

weixin_29015127的博客 259

关于LibreOffice在linux上的使用以及出现的问题保姆级教程

关于解决LibreOffice在linux系统上面的安装以及Java程序进行连接可能出现的问题Java.net.ConnectException: connection failed: socket,host=127.0.0.1,port=8100,tcpNoDelay=1

xky0138的博客 1万+

ASP.NET 在线预览 Office 文档:Word/Excel/PPT/PDF 源码实现与避坑指南

在 Web 应用中实现 Office 文档在线预览,核心是将 Word、Excel、PPT 等二进制格式转换为浏览器可渲染的 HTML 或 PDF。常见技术路线包括服务端调用 LibreOffice 无头转换、使用 Open XML SDK 解析 OOXML 结构,以及借助商业组件完成高保真渲染。该能力可显著提升 OA、档案管理、在线教育等场景的用户体验,避免强制下载与客户端依赖。ASP.NET 作为服务端框架,可通过封装转换服务、控制并发、生成缩略图与缓存策略,构建稳定高效的预览链路。本文围绕 asp.n

weixin_30516429的博客 23

LibreOffice-7.5.3.2-Linux-x86-64-rpm

LibreOffice_7.5.3.2_Linux_x86-64_rpm KKview linux 必要组件

Linux环境下安装Libreoffice

Libreoffice6.4网盘地址: 链接:https://pan.baidu.com/s/1Oii6OAprUExy2LvBmgmJNw 提取码:1234 1.上传libreoffice到/usr目录下 2.解压文件 tar -zxvf LibreOffice_6.4.6_Linux_x86-64_rpm.tar.gz 3.进入到解压文件 cd LibreOffice_6.4.6.2_Linux_x86-64_rpm/RPMS 4.安装依赖 yum install cairo -

Nxl19980606的博客 3997

LibreOffice服务启动

批处理启动LibreOffice服务,用于office文件格式转换。

Libreoffice 启动或重启命令

1、搜索当前运行程序ps -ef|grep openoffice2、杀死正在启动的socket程序kill -9 +port //port 为openoffice的端口3、使用命令重启/opt/openoffice4/program/soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;" -nofirststartwizar...

qq_35731738的博客 2万+

网格自适应实战 | 攻克超弹性体大变形不收敛难题

本文针对超弹性体(如橡胶)在大变形仿真中因网格严重扭曲导致计算不收敛的难题,提供了基于ANSYS网格自适应技术的实战解决方案。文章详细阐述了从问题诊断、模型准备到核心参数设置的完整流程,并介绍了结合混合U-P单元技术的进阶组合策略,有效攻克了材料压缩等场景下的仿真收敛问题。

week9的博客 536

Hand-Eye 标定误差分析:从理论到 C++ 实现

本文深入探讨了机器人手眼标定中的核心环节——误差分析。文章从AX=XB方程的理论残差出发,详细解析了旋转与平移误差的数学定义与物理意义,并提供了一个工业级的C++实现代码,用于计算重投影误差。通过误差分析,工程师可以量化标定精度,诊断问题根源,从而确保视觉引导机器人系统在实际应用中的可靠性与精确性。

c7d8e的博客 708

Spring Boot 整合 LibreOffice:本地调用、远程服务与 Docker 一体化部署实战

方式适用场景扩展性维护成本推荐度本地调用开发、测试、小型单机应用差低⭐⭐远程服务(Gotenberg)微服务、生产环境、高并发高中⭐⭐⭐⭐⭐Docker 一体化快速交付、CI/CD、演示环境高低(容器化后)⭐⭐⭐⭐通过本文,你已掌握 Spring Boot 与 LibreOffice 集成的三种部署形态:从简单的本地调用,到解耦的远程服务,再到容器化的一体化部署。无论你是构建内部工具还是对外 SaaS 产品,都能找到合适的方案。🌟进阶建议。

2609_95039045的博客 884

补洞与fairing算法

对网格进行补洞,remesh, 平滑,fairing, 最小二乘优化平滑

闪电彬彬的博客 1061

linux 批量杀进程的命令 慎用!!!

ps -ef|grep task | head -200 | awk  'BEGIN{}{print $2; cmd="sudo kill "$2; print cmd; system(cmd)}END{}' 批量杀掉名称包含 ‘task’的进程。

dlutherb的专栏 221

AIGC内容溯源技术:如何追踪AI生成内容的原始来源

本文旨在系统性地介绍AIGC内容溯源的技术体系,帮助读者理解如何追踪AI生成内容的来源。我们将覆盖从基础概念到前沿技术的完整知识链,包括但不限于数字水印、区块链存证、内容指纹等技术方案。文章将从AIGC的基本概念出发,逐步深入探讨各种溯源技术,分析其原理和实现,最后讨论实际应用和未来趋势。AIGC:AI Generated Content,人工智能生成内容内容溯源:追踪数字内容的创作、修改和传播历史数字水印:嵌入在数字内容中的不可见识别信息数字水印:隐藏在内容中的识别信息,像隐形墨水内容指纹。

SuperAGI2025 2096

Android BLE扫描指南:解决设备发现问题

假设你正在开发一个MAUI应用,用于扫描并连接到BLE设备。你的代码在Windows上运行得很好,但在Android上却无法发现任何设备。尽管你已经在中声明了必要的权限,并且在运行时请求这些权限,扫描还是无法工作。

m0_62153576的博客 230

LibreOffice本地高保真互转:PDF/Word/Excel/PPT批量转换实践

文档格式转换是办公自动化中的基础能力,核心在于解析源文件版式、字体、表格与分页,再按目标格式重新渲染输出。Office转PDF通常依赖渲染引擎重建页面,PDF转Word则更多是文本与对象提取,二者在还原度上存在天然边界。本地化部署的价值在于文件不出内网、批量任务可复现、参数与字体环境可固定,适合合同、报表、课件等敏感材料的离线处理。面对大批量任务,还需通过子进程隔离、独立用户配置、超时校验与并发调度保障稳定性。围绕LibreOffice构建本地高保真文档转换工具,正是把这些原理落地为可运维的工程实践。

weixin_42529328的博客 230

【Java开发者必看】LangChain4j实战指南:使用AIService轻松集成聊天记忆Chat Memory到SpringBoot应用,通过封装多轮复杂对话,使聊天记忆的实现变得简单

聊天记忆是指在与用户的多轮对话过程中,能够记住之前的交互内容,从而提供更加连贯和个性化的回复。LangChain4j支持通过ChatMemoryProvider接口实现聊天记忆功能。

Spring Boot-Common On With You 455

LibreOffice 深度实战:从中文配置到无头调用与在线协作

文档自动化处理通常涉及格式转换、服务器端集成与在线协作等需求。LibreOffice 作为开源办公套件,通过无头模式(headless)和 UNO 桥接技术,可在无图形界面环境下实现批量文档转换,如 Word 转 PDF、Excel 转 CSV。其核心价值在于降低商业授权成本,并支持高并发场景下的稳定调用。常见应用包括企业报表自动生成、文档批量处理及自建在线协作平台。中文环境配置需关注字体映射与本地化设置,避免乱码与排版偏移。无头调用时,合理管理进程与内存可提升转换效率。

weixin_34241036的博客 276

【AI应用实战-Codex】Mac intel芯片下安装Codex(二)

摘要:本文介绍了在Intel芯片Mac上安装OpenAI Codex桌面应用时遇到的问题及解决方法。由于官方仅提供ARM64版本,导致Intel Mac无法直接运行。解决方案包括:1)使用社区脚本将ARM版DMG与x64 Electron重新打包成兼容版本;2)使用VSCode插件配合CLI作为替代方案。文章详细记录了重新打包过程中遇到的"electron_common_owl_features"绑定缺失错误,通过注入stub代码、重算ASAR完整性哈希等步骤成功解决问题。最终生成的Co

3706

jdk-8u144-linux-x64.tar.gz.

该资源为搭建Linux系统Java环境用,资源的后缀为tar.gz格式的压缩包

Linux:kkFileView v4.0.0 安装、启动教程

https://gitee.com/kekingcn/file-online-preview/releases 上说,v4.0.0对应LibreOffice7.1。v4.0.0版本发布,LibreOffice7.1底层,兼容性更强,预览效果更好。Mobaxterm 在下图,而且启动时会弹窗询问是否打开x11,要选否。LibreOffice错误排查,大家可以依次安装下面的组件,查看结果。官网安装教程较为简单,无4.0.0版的教程。如果你本来就有其他版本,可以配了试试,比如。2.安装 kkFileView。

ptzrbin的专栏 1374

IEM模型,地表粗糙度模拟

利用微波反演土壤水分时候,利用IEM模型可以实现对随机地表的模拟

关于Openoffice预览插件导致宕机问题,进程被杀,有时候会kill掉所有进程,LibreOffice也有这个问题

之前在开发过程中,因为项目要文件转换成pdf弄预览,再加上文件多,要提高转换效率,写了一段并发的程序。但是莫名其妙的,有时候服务器所有进程被kill掉,导致服务器直接宕机了。经过一段时间的排查,才发现是驱动OpenOffice的jar包有问题。 <dependency> <groupId>org.artofsolving.jodconverter</groupId> <artifactId>jodconverter-core</artif

qq_39474136的博客 2211

华为的C语言编程规范.pdf

华为技术有限公司内部技术规范。本规范制定了编写C语言程序的基本原则、规则和建议。从代码的清晰、简洁、可测试、安全、程序效率、可移植各个方面对C语言编程作出了具体指导。

假人有限元模型

假人模型,车辆碰撞假人有限元模型,适合做乘员安全的研究者利用

市面上Word转化PDF,PDF转图片Java实现方案(亲测)

这里写自定义目录标题前提第一步:转成PDF第二步:转成图片 前提 前段时间由于项目需要,需要做如下功能,将上传的word图片转化问图片,经常多天多市面上的插件测试 总结,现在将自己的一些心得记录如下,让大家少走弯路。 第一步:转成PDF 转PDF涉及到对Office的操作,目前比较常用的为以下方案: 免费方案: POI:这种方式实现很老,需要导入POI相关JAR包,转的效果很不好...

刚毕业的小码农 3909

C#实现PPT转PDF:三种方案对比与实战指南

在文档处理领域,格式转换是高频需求。将PowerPoint演示文稿转为PDF是办公自动化的重要环节,涉及不同技术路线的选型与权衡。本文从文件格式转换的基本原理出发,对比Office COM组件、商业组件Aspose.Slides和LibreOffice无头模式三种主流实现方式,分析各自的依赖条件、转换质量、并发能力和成本。结合工程实践,介绍环境配置、核心代码、批量任务调度、字体缺失排查和性能优化等关键点,帮助开发者在服务器端构建稳定高效的文档转换服务。

weixin_32175665的博客 272

Docker容器启动即崩溃:file descriptor table内存分配失败排查与解决

文件描述符表(file descriptor table)是Linux内核为每个进程维护的核心I/O资源索引,它本身需要占用内存,glibc在进程启动时便会根据ulimit -n的配置预先分配这张表。在容器环境中,这项启动期内存开销往往被忽略,一旦遇到内存限制(如docker run -m)或内核overcommit策略收紧,就可能导致calloc分配失败,进程直接Abort,表现为容器启动即退出。理解这一原理,有助于快速定位诸如“unable to allocate file descriptor tab

weixin_32183107的博客 268
上一篇: pandas.read_excel详解
下一篇: IOS界面元素四栏(状态栏、导航栏、工具栏、TAB栏)设计规范
GeekLeee
博客等级 码龄10年 198粉丝 244原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值