etwas ungewöhnliche Top-Ausgang Problem
Ich bin ein relativer Neuling auf Unix (ich bin auf OSX) und ich haben ein spezielles Problem Ich bin angesprochen auf:
Ich bin Rohrleitungen die Ausgabe von top (in log-Format) in ein awk Befehl, die Formate der Daten (und schließlich wird sie kontinuierlich über UDP / OSC zu einer anderen Anwendung). Mein Problem ist mit dem, was kommt in das Terminal, wenn ich versuche mit Top-L1000 | awk-F filterfile. die Proben Pop zwei in einer Zeit! Ich muss für sie zu sein und auf einer relativ konstanten Intervallen für diese Anwendung. Wer weiß, warum das passiert sein könnte? Ich habe auch meine (einfache und kludgy) awk-Datei aus. Vielen Dank im Voraus für jede Hilfe.
----
$ 1 ~ / Prozesse: | Laden | SharedLibs: | MemRegions: | PhysMem: | VM: | PID / & & $ 2! ~ / Fenster | AOL | awk | nach oben | tcsh | Login | lookupd | AppleSpell | iChatAgent | Universala | SystemUISe | PBS | Verzeichnisse | Anmelden inwindo | NortonMiss | cron | cupsd | inetd | automount | nfsiod | coreservic | netinfod | crashrepor | mDNSRespon | syslo gd | autodiskmo | NortonAuto | ATSServer | SecuritySe | configd | dynamic_pa | update | kextd | mach_init | init | kernel_ tas | fix_prebin | Norton | NortonMiss | SecurityAg | SETI @ home_ | SETI @ HomeI | S @ hScreenS | System | CPU | Internet | DVD | Audio | Echo24 | SuperColli | scsynth | MaxMSP | MIDIServer | Bilder | Key | Burning | Sloppy | Adobe / (print $ 2, $ 3, $ 5, $ 6, $ 7)
$ 2 ~ / Fenster | AOL / (print $ 2 $ 3, $ 4, $ 6, $ 7, $ 8)
$ 2 ~ / MaxMSP / (print $ 2, $ 4, $ 6, $ 7, $ 8)
$ 2 ~ / Norton | Bilder | System | CPU | Internet | DVD | Audio | Echo24 | Key | Burning | Sloppy | Adobe / & & $ 3 ~ / Caps | Ant | Vor | Capt | Überwachung | E | Player | Hija | Con | Mo | Sok | Phot / (print $ 2 $ 3, $ 4, $ 6, $ 7, $ 8)
|