there seems to be a different format to these two text files i have. one is generated automatically by a windows cmd line to text file. when i scp this from the windows machine to a linux machine, i get byte order mark and spacing issues. if i copy to clip board from the windows txt.file and paste it in my linux ide terminal, i get the format i could use with pd.read_fwf. i want to get that format by scping to my linux terminal and not use the ide. it seems there’s a couple options here. one is to convert the format, (seems simplest) other is to remove the byte order mark and remove white space.. which might be a silly idea.
clipboard transfer:
Image Name PID Session Name Session# Mem Usage
========================= ======== ================ =========== ============
System Idle Process 0 Services 0 8 K
System 4 Services 0 4,236 K
Registry 160 Services 0 77,776 K
smss.exe 708 Services 0 1,248 K
scp tranfer:
��
I m a g e N a m e P I D S e s s i o n N a m e S e s s i o n # M e m U s a g e
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
S y s t e m I d l e P r o c e s s 0 S e r v i c e s 0 8 K
S y s t e m 4 S e r v i c e s 0 4 , 2 3 6 K
R e g i s t r y 1 6 0 S e r v i c e s 0 7 7 , 7 7 6 K
s m s s . e x e 7 0 8 S e r v i c e s 0 1 , 2 4 8 K